+ Start a Discussion
Anupama@28Anupama@28 

How to implement checkbox functioanlity with pagination for pageblock table.

Hi,

I am creating a pageblock table and usign the below component to have pagination.
http://blogforce9.blogspot.com/2013/11/pageblocktableenhanceradv-yet-another.html
Now I want to have checkboxes in the table with the below functionalities
1: select all
2: select individual records trough paginating.
Currently I have implemented something with wrapper class and js, but it is working only for 2nd option not for first,

Has anyone implemented such requirement?  Pls help.

Thanks,
Anupama

 
RamuRamu (Salesforce Developers) 
I had the similar issue earlier and I used the guidelines explained in the below article

http://blog.cloudclickware.com/2013/04/04/list-pagination-and-record-selection-with-visualforce/

 
Anupama@28Anupama@28
Hi,

Thanks for your reply
the above code is applicable only to my second requirement, anyways second requirement is working fine for me.
I am thinking of how to do the first requirement select all with pagination.

Thanks