{hero}

selectColumns

Since: Select 1.0.0

Change the item selection mode to column.
Please note - this property requires the Select extension for DataTables.

Description

Select's ability to dynamically change between what items can be selected in the table (select.items()) can be controlled by this button, and its counterparts: selectRows and selectCells providing the end user with the ability to switch between item selection type.

If the item selection mode is set to column, this button will show as active (see button().active()).

Example

DataTables initialisation: Provide buttons to change item selection:

new DataTable('#myTable', {
	buttons: ['selectRows', 'selectColumns', 'selectCells']
});