+ Start a Discussion
Raju Sudheer 3Raju Sudheer 3 

how many records we can print in vf page

Ganesh EkhandeGanesh Ekhande
Hi Raju,

Maximum number of items in a collection that can be iterated over using components such as <apex:dataTable>, <apex:dataList>, and <apex:repeat> is 1000. So, we can print 1000 records on non read only visualforce page as long as view state of page is less that 135KB. If you set readOnly attribute to true on page, this limit increased from 1,000 items to 10,000 items. so you can show 10000 records on the visualforce page as long as view state of page is less that 135 KB.

If you use List of list of records to show on the visualforce page, You can show 1000*1000 records on non read only page, as long as view state is less than 135KB.

Thanks,
Ganesh