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
Vishal_ThoriyaVishal_Thoriya 

pagesize attribute is not working on relatedList tag for custom objects.

I have written following code on my custom visualforce page.

 

It seems that pagesize attribute is not working on relatedList tag.

 

<apex:relatedList id="Assignments" list="Assignments__r" pageSize="2" title="Assignments" rendered="{!$ObjectType.Assignment__c.accessible}"/>

 

My related list still shows me more than 2 records on page load.

 

I am wondering is it a known issue of salesforce?

 

Please help me if anyone knows about this issue.

 

Thanks,

Vishal Thoriya.