You need to sign in to do that
Don't have an account?
sfdctrr
How to Display huge number of records page wise?
Hi Folks,
I Have a requirement like i need to
1. Display 2,00,000 records page wise.
2.Each page should contain only 50 records.
3. User should have flexibility of clicking on Next,Previous,First and Last links/buttons to get other records on the page.
What is the best way to do that Any examples with code appreciated.
Thanks in advance.
Thanks.
You can use "first" and "rows" attributes in <apex:pageBlockTable> as well as <apex:repeat>
First is the start index of the record you want to display on your table, while rows will tell you the number of records you want on a single page.
Here is an example:
PAGE:
Controller: