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 

Difference between Standard Controllers & Standard List Controllers



   What is the  Difference between Standard Controllers & Standard List Controllers .



Best Answer chosen by Admin (Salesforce Developers) 

Standard Controller always refers : Object (standard /custom).

StandardsetController is an Apex Class. This class has some methods like setpagesize().... etc...


A sample  for you:




<apex:page standardController="DataLoadTest__c" recordsetvar="recs" extensions="test">
    <apex:form >
           <apex:pageBlock >
                <apex:pageBlockSection >
                    <apex:pageBlockTable value="{!recs}" var="r">
                        <apex:column headervalue="Name">
                <apex:commandButton value="previous" action="{!previous}"></apex:commandButton>
                <apex:commandButton value="next" action="{!next}"></apex:commandButton>




public with sharing class test {
    public test(ApexPages.StandardsetController Controller){


This page displays only 2 records per page.. This could be possible by calling the method setPagesize(2). This is a method of standardsetcontroller class.