{hero}

searchPanes.clearSelections()

Since: SearchPanes 1.0.0

Clears the selections in all of the panes.
Please note - this property requires the SearchPanes extension for DataTables.

Description

This method provides the ability to clear all of the selections that have been made in the panes should a change occur on the associated DataTable.

searchPanes.clearSelections() takes no argument - all selections are cleared in every pane.

Type

function searchPanes.clearSelections()

Description:

Clears the selections in all of the panes.

Returns:

DataTables API instance.

Example

Select a row in a pane and clear the selections::

var dt = new DataTable('#myTable', {
	layout: {
		top1: 'searchPanes'
	}
});

$('div.dtsp-searchPane:eq(1) table tbody tr:eq(0) td:eq(0)').click();
new DataTable('#myTable').searchPanes.clearSelections();