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
Nagendra SinghNagendra Singh 

How to use Pagination

i have reocrds in a object,and showing these records on page using pageblocktable,how to use Pagination for that object
logontokartiklogontokartik
Hi Nagendra,
The Apex StandardSetController has methods that will get/set pagenumbers, pagesize,next, prev etc. You can use them to do the pagination. 
https://www.salesforce.com/us/developer/docs/pages/Content/apex_ApexPages_StandardSetController_methods.htm
Alternatively, you can use custom JS functions to do the paginations, there is a very good blog post and example in this blog
http://blogforce9.blogspot.com/2013/06/pageblocktable-enhancer-v22-much-needed.html

Thank you