{hero}

columns().deselect()

Since: Select 1.0.0

Deselect columns.
Please note - this property requires the Select extension for DataTables.

Description

This method simply deselects the columns that have been found by the columns() selector method.

Type

function columns().deselect()

Description:

Deselect one or more columns in the table, based on the columns found by the columns() method.

Returns:

API instance that contains a reference to the deselected columns.

Example

Deselect all columns which have a class of 'important':

var table = new DataTable('#myTable');

table.columns('.important').deselect();

Related

The following options are directly related and may also be useful in your application development.