+ Start a Discussion
ai501.3910110299805757E12ai501.3910110299805757E12 

Building a Table of Data in a Visualforce Page

Want to create a table using vf which displays 10 records will be displayed in a single page and i need to click on next(or) previous button to view records and records number(1-10,11-20,..) must be displayed in the top of table. If i click on first record it must expand and show "loading image" and must disappear when record appears fully.
ShaTShaT
Hi ,

Please refer below links.

This is for standerd 
http://hisrinu.wordpress.com/2012/01/09/pagination-using-standardsetcontroller/
http://blog.cloudclickware.com/tag/standardsetcontroller/

Below link  is for Custom Pagination
http://www.redpointsolutions.com/add-pagination-to-your-visualforce-pages-using-the-soql-offset-clause
http://www.infallibletechie.com/2013/05/pagination-using-apexdatatable-in.html

Thanks
SFDC