You need to sign in to do that
Don't have an account?
Parteek Kumar 5
How to use custom pagination with visualforce page
HI,
I want to add custom pagination in visualforce page. i have 45000 records in object. but offset only support for 2000 record. i am not getting how to fix this issue.
Please help me guys...
I want to add custom pagination in visualforce page. i have 45000 records in object. but offset only support for 2000 record. i am not getting how to fix this issue.
Please help me guys...
You have two options for pagination inside of Visualforce pages, OFFSET pagination, and StandardSetController pagination. With OFFSET pagination you are limited to 2,000 records; however, with a StandardSetController, you can paginate up to 10,000. So, one thing you could do would be to refactor to use the StandardSetController pagination.
Another thing that you could do would be to add some filtering capability so that the user can get to the records they need. For example, if you would return more than 2,000 records, display a message saying something like "Showing 2,000 records but there could be more. Please use a filter to narrow down the results."
Hope this helps you!
Best Regards,
Jyothsna