+ Start a Discussion

Display all the records page wise.

Hi All,


I have a visualforce page to search all accounts, now i simply wants to display all the searched records page wise i.e. having 20 records per page.


For ex. After searching all accounts, i have 500 records displayed. Now, i want to display only 20 records per page and enable the user to move to the next 20 records till last record.


Please let me know how can i do that.







   Use "StandardSetController" capabilities to fufill your requirement. Check this link for more info. Check out the example thorougly in the documentation to get the idea to use it.