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

Custom Related List

Hi All,


I have created a custom related list using pageblocktable. It is working fine. The issue which I am facing now is for some accounts the records in the related list are more than 200 and the page becomes very long. So is it possible to give the Show 5 more » and Go to list (50+) » (displayed in standard Related List by default) links in the pageblocktable.





There's an integer attribute 'rows' on the pageBlocktable componet


You could set this attribute to 5 and add a link to a new page showing a full list.


If the table gets its data from a customer controller, you can use a commandlink setting an integer value which defines the number of rows in your table or to limit the query its self