I have to paginate total of 4000-5000 records with 20 records per page. I am using a wrapper class type List. This list would be displayed on a pageblocktable.
I CANT use OFFSET because offset has a limit of paginating 2000 records on total.
StandardsetController has limit of 10000 records. However, using standardsetcontroller, we CANT persist the value of checkbox when we click "NEXT" page.
I am planning to use Iterator for this job. Can anyone tell me what is the limit of records i can paginate when i implement Iterator?