+ Start a Discussion

Loading all the records in single page

Hi ,

I want to display mutiple records on page using pagination.

i want create a next button and on clicking of this button the want display next set of records along with the current records.

Is there any way that I can append the newly fetched records with previous records?

Can i have sample code for the above requirement
I've posted an answer with code on your cross post at : https://developer.salesforce.com/forums/ForumsMain?id=906F0000000AUsHIAW
Swati GSwati G

You can use standardsetcontroller for that but it has limitation. 

StandardSetController: http://www.salesforce.com/us/developer/docs/pages/Content/apex_pages_standardsetcontroller.htm 

Here is the blog which has sample code