You need to sign in to do that
Don't have an account?

Display more than 10k records in VF page
Hello All,
I would like to display 30k records in the VF page. But as per the Governer limit we can not display 10k with pageblock and repeat.
My list having near 40k records.
please assist on this.
Thanks,
Rohit Sharma
I would like to display 30k records in the VF page. But as per the Governer limit we can not display 10k with pageblock and repeat.
My list having near 40k records.
please assist on this.
Thanks,
Rohit Sharma
You can use pagination where you load the data in chunks say 10,000 if the page is readonly. Also you can use remote methods to get the recored and fill it in table using javascript. Data returned via remote methods do not contribute to governor limit.
Hope this helps!
Thanks
Your visualforce would look something like:
Please note that storing several records in your Visualforce page / Controller may blow your View State size out of the water, however, so you should be careful with this approach.