How many records can we display in a single vf page?for example my contrller has fetched 10,000 records.out of 10,000 records how many records can i display?
Really, it depends on how you want to present them. Typically, you are only allowed to utilize a list of 1000 entries if you're using one of the iteration elements (apex:repeat, apex:dataTable, etc.). This restriction is lowered to 10,000 if the page is made read-only. By inserting the readOnly="true" attribute in your apex:page element, you can place it in read-only mode. The ability to execute any DML statements, such as inserting, updating, or deleting, is sacrificed while using ReadOnly.
The user can examine prior and next entries in the pagination method used in the second option, which does not show all the results at once. Your only true restriction in this situation would be the restrictions imposed by your question. A single query can normally return 50,000 records, and it can return 1,000,000 records in read-only mode (which is different from making your page read-only).
0 Comments