{hero}

row().deselect()

Since: Select 1.0.0

Deselect a single row.
Please note - this property requires the Select extension for DataTables.

Description

This method simply deselects a single row that has been found by the row() selector method.

Type

function row().deselect()

Description:

Deselect a single row in the table, based on the row found by the row() method.

Returns:

API instance that contains a reference to the deselected row.

Example

Deselect the first row in the table's current page:

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

table.row(':eq(0)', { page: 'current' }).deselect();

Related

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