Column select

Column select allows you to select or de-select checkboxes down a column in a table. It is implemented by the components used for displaying tables, and required that the table has the classes maTable and/or datatable on it.

To implement column select, in the table header, add a <th> with a class of "select", and a checkbox, as in the following example.

<th class="select" style="text-align:center;">
All <input type="checkbox"/>

When you click on the checkbox in the heading, any checkboxes in the column will be toggled to suit.

This functionality is used when generating tables using the Table script (library.table.TableScript), through the addSelectColumn() method.