+ Start a Discussion
Nagaraj SVNagaraj SV 

How to Display More than 7,000 records In a visualforce page? Please help me

Best Answer chosen by Nagaraj SV
Krishna SambarajuKrishna Sambaraju
You can do this using pagination. Please find an example of pagination here.
http://sfdcsrini.blogspot.com/2014/07/simple-visualforce-pagination-example.html

All Answers

Krishna SambarajuKrishna Sambaraju
You can do this using pagination. Please find an example of pagination here.
http://sfdcsrini.blogspot.com/2014/07/simple-visualforce-pagination-example.html
This was selected as the best answer
surasura
Best way is to use pagination but if it is must to display all records in a single page set  readonly attribute of <apex:page> tag to true , It will allow you to display upto 10000 records 

readonly : A Boolean value that enables read-only mode for a Visualforce page. In read-only mode, a page may not execute any DML operations, but the limit on the number of records retrieved is relaxed from 50,000 to 1 million rows. It also increases the number of items in a collection that can be handled by iteration components, from 1,000 to 10,000. If not specified, this value defaults to false.

for more info refer https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_page.htm
Nagaraj SVNagaraj SV
Thank you Krishna Sambaraju and Sura....Your answers sloved my issue..