+ Start a Discussion

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?

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

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