Hi,
ApexPages.StandardSetController (documentation) contains a list of records (one or more), and has additional functions to facilitate pagination (moving between pages) and updating a number of records at once.
List<account> accountList = [SELECT Name FROM Account LIMIT 20];
ApexPages.StandardSetController ssc = new ApexPages.StandardSetController(accountList);
Thanks,
Visali.
It contains a list of records (one or more), and has additional functions to facilitate pagination (moving between pages) and updating a number of records at once.
StandardSetController allows us to create list controllers similar to, or as extensions of, the pre-built Visualforce list controllers provided by Salesforce.
e.g- when you want to override a tab or list view with your custom visualforce page.