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
varaprasad vvaraprasad v 

how many records we will display in visualforcepage

how many records we will display in single visualforcepage.by using standard controller and  custom controller.



Thanks to advance
nitesh gadkarinitesh gadkari
Hi,

records that can be retrieved by queries for single vfpage-50,000(without read mode).
when read mode enabled limit extended to 1 million rows.
 
With readonly mode enabled for vfpage,when using components like <apex:dataTable>, <apex:dataList>, and<apex:repeat>, this limit increased from 1,000 items to 10,000 for the records that can be retrived.

Although it it is best practice to use pagination instead of bringing all records on vf page.also use criteria to bring records .

Regards
Nitesh  
nitesh gadkarinitesh gadkari
Also this link will be helpful

https://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_readonly_context_pagelevel.htm