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
AbAb 

Pagination for rows more than 10k

Hello,

I have a Pagnignation âge in salesforce i have followeed link below 
http://blog.jeffdouglas.com/2009/07/14/visualforce-page-with-pagination/

But the code fails for End/last button because the ofset should be less than 2000 but i have 10k rows (in Sandbox) and 50k rows (in Production),
Any work around for this ?
Best Answer chosen by Ab
Tejpal KumawatTejpal Kumawat
Hi Sandrlne,

With OFFSET pagination you are limited to 2,000 records; however, with a StandardSetController you can paginate up to 10,000. So you need to erite own custom logic on each click get new data,  without using StandardSetController.

Regards
Tej Pal Kumawat
Skype : tejpalkumawat1991

If this answers your question mark Best Answer it as solution and then hit Like!