+ Start a Discussion
PrazPraz 

Pagination in visualforce

Salesforce implements a standard pagination framework for out of box functionality..for instance one can go to product object and onece clicked on the All Products you will see the pagination.. for example I am embedding this image for reference

 

Pagination

 

 

Can anybody tell me how this pagination style can be implemented in visualforce page.

SargeSarge

Hi Praz,

 

    For salesforc's standard pagination, it can be re-done using StandardSetController class (a system class). As far as the screen shot is concerened, you can use StandardSetController for this either or mimic the functionalities of StandardSetController into your apex class.

PrasenPrasen

Hi 

 

I have used standardsetcontroller to use setcon.next, frist, last, previous functionalities...do you have any sample code for this type of pagination

 

or can I get any sample code on vf for such implementation?