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

selectCheckbox with multiple columns per row/option

We want to create something that mimics the behavior of the checkboxes in the listview and related list, but for items that are not child records of the page's primaray object. (We'll be using this to provide the user with a list of child items they could add). What's the best way to do this?

  1. Can one embed a dataTable or columns within the selectCheckbox tags?
  2. Can one bind an InputCheckbox to an iterative component within a dataTable?
input checkbox can be added to dataTable or pageBlockTable but i do not think you can embed dataTable into selectCheckBox tags (I have not tried it myself yet though).

I know that the inputCheckbox can be added, but how does one set it up as part of a multi-select collection.

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