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
jbjbjbjb 

Checkboxes in a data table column?

Does anyone know the best way to get checkboxes in a data table-like format?

The end result should be a 'related list' like structure, but with a checkbox in the left-most column.
I've tried "apex:selectCheckboxes" but need to display more than just a label.

And I've tried "apex:pageBlockTable" with an inputCheckbox in the first column, but I don't know how to get the controller to recognize which rows were checked and which not...

Can you help?

Thanks
okaylah52okaylah52
Maybe the article Sending anputCheckBox values to Controller can help. Read the code posted by dchasman.
charrischarris

I put a javascript based solution for this in the thread with title "Putting selectCheckBoxes in columns"