{hero}

rows().deselect()

Since: Select 1.0.0

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

Description

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

Type

rows().deselect()

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

Returns:

DataTables.Api API instance that contains a reference to the deselected rows.

Example

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

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

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

Related

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