You need to sign in to do that
Don't have an account?

Apex Repeat Bug?
Hi All,
I am having an issue with apex repeat displaying a list of records. My query is retrieving 23 rows but only 20 are being displayed.
Here is the actual Apex query
public ApexPages.StandardSetController setCon2 {
get {
if(setCon2 == null && ModuleId != null) {
setCon2 = new ApexPages.StandardSetController([Select Id, IMAX_URL__c, IMAX_APIKey__c, IMAX_Version__c, PCMX_Version__c from Module__c where Id =: ModuleId LIMIT 1]);
}
return setCon2;
}
set;
}
public list<IMAX_Device__c> getDevices() {
if(ModuleId != null && setCon != null){
return (List<IMAX_Device__c>) setCon.getRecords();
}else{
return null;
}
}
Here is the Visualforce repeat

I guess you are setting the Page size 20 in standard set controller, then it will show 20 records on the page at once and rest of records it should show on Next.
All Answers
I guess you are setting the Page size 20 in standard set controller, then it will show 20 records on the page at once and rest of records it should show on Next.
Thanks, that was it. I did not specify a page size so I assume it is by default 20.