Hiii, 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. http://www.infallibletechie.com/2013/01/pagination-using-apex-in-salesforce.html http://cloudfollowsdotcom.wordpress.com/2012/12/27/soqloffset/
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.
http://www.infallibletechie.com/2013/01/pagination-using-apex-in-salesforce.html
http://cloudfollowsdotcom.wordpress.com/2012/12/27/soqloffset/