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

pagination using extensions

             i am able to do the pagination using the standard controller but now i want to implement the pagination using the extensions in visualforce pages.
You can use offset in soql query to achieve the same.
In your soql query provide an offset value and querylimit. Based on the query limit the offset will increase per page and next set of data will be available.
For e.g The offset size will be increased on NEXT button click and offset size will be decreased on PREVIOUS button click based on query limit.

Some references are below.