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
SMasterSMaster 

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.

 

Thanks

SargeSarge

Hi,

 

 

   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.