You need to sign in to do that
Don't have an account?
Sam.arj
How to view large data in pages of 10~15 records using PageBlockTable
In one of the projects I am involved I need to show results with 600 or 700 rows (records) to the user. I thought to myself that this must be very hard for the user to browse all those in a long page (one list).
Then I remembered the nice Paging feature of .NET's Gridview and started investigating to see if PageBlockTable supports something similar. Unfortunately it does not!
So I decide to implement it myself and I have posted it on:
http://salesforcesource.blogspot.com
Check it out, now i was wondering if anyone else has done something on this and if there is a better way of doing so.
Message Edited by Sam.arj on 09-22-2008 07:42 AM
Then I remembered the nice Paging feature of .NET's Gridview and started investigating to see if PageBlockTable supports something similar. Unfortunately it does not!
So I decide to implement it myself and I have posted it on:
http://salesforcesource.blogspot.com
Check it out, now i was wondering if anyone else has done something on this and if there is a better way of doing so.
Message Edited by Sam.arj on 09-22-2008 07:42 AM
The pagination feature is very good with List of SObjects instances. What if my list is a collection Apex Class instances modeled to aggregate the view from more than 2 SObjects related to each other. I think this case we need to create our own VF component to fetch related data according to page size and populate the list of Apex class instance required by the VF view. Is there any easy way to do that?