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
needhelpneedhelp 

Pagination with User Defined List

Can I know whether the Pagination is working fine with User Defined List or not? May I know how to do that?

 

Example :

 

// My own user defined list

Public class userlnfo {

    public string FirstName {get; set;}

    public string LastName {get; set;}

    public string address {get; set;}    

}

 

 public userInfo[] userInfoList = new userInfo[2];

 

..........

 

// My Pagination

 

ApexPages.StandardSetController setCon = new ApexPages.StandardSetController(userInfoList);

--> Can this be done?

Anand@SAASAnand@SAAS
Don't think so. StandardSetController takes a Query locator or An SObject Array.