function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How to implement checkbox functioanlity with pagination for pageblock table.


I am creating a pageblock table and usign the below component to have pagination.
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.


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


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.