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
Abhilash Mishra 13Abhilash Mishra 13 

Pagination on a list

i want to implement a pagination in a pageblocktable. and i have a list 'product' as table value. how can i impemnt it. i have tried using standardsetcontroller class but when using Apexpages.standardsetcontroller(product), it gives an error. as argument1 can not be null .
need help anyone please. 
Best Answer chosen by Abhilash Mishra 13
Balaji BondarBalaji Bondar
Hi Abhilash,
Below code will help you.Please change the record set query as per your requirement and column mapping in VF page.
http://forceguru.blogspot.com/2011/04/pagination-in-salesforce.html
http://www.iterativelogic.com/enabling-custom-paging-using-apex-and-visualforce/

Important :
If this is what you were looking for then please mark it as a "SOLUTION" or You can Click on the "Like" Button if this was beneficial for you.