function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ravichandra yerubandiRavichandra yerubandi 

how to display dynamic data on visualforce page

hii,
i have more than 300 fields in my soql query  i want to display that in vf page.is there any way to display dynamically,or i nead to declare all the 300 fields static way,can any one help
thanks&regards
Ravichandra
AbhishekAbhishek (Salesforce Developers) 
Hi Ravi,

The below blogs might answer your query.

https://www.forcetalks.com/salesforce-topic/in-salesforce-how-to-display-dynamic-table-records-in-horizontal-format/

https://developer.salesforce.com/forums/?id=906F000000093JUIAY

I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.

Thanks
Ravichandra yerubandiRavichandra yerubandi
Hi Abhishek,
 one doubt, for example i have two accout records which each record have 200fields, when i want to display that records in vf page.i need no declare like this every field
<apex:repeat value="{!proList}" var="acc1">
            <input type="radio"/> {!acc1.name}<br/>
            <input type="radio"/>{!acc1.rating}<br/>
            <input type="radio"/>{!acc1.industry}<br/>          
        </apex:repeat>
or any dynamic way?
sandeep zlatosandeep zlato
Thank you so much as you have been willing to share information with us. We will forever admire all you have done here because you have made my work as easy as ABC. But do you know about the “sbcglobal.net email smtp settings” issue? No? This will help you.