{hero}

searchPanesClear

Since: SearchPanes 1.0.0

A single button that clears the SearchPanes selections.
Please note - this property requires the SearchPanes extension for DataTables.

Description

This button clears all of the SearchPanes options that have been selected, resetting the search that is applied.

Options

This button can have the following options set in its configuration object to customise its actions and display, in addition to those options which are available for all buttons (e.g. buttons.buttons.text):

Example

Basic SearchPanesClear button initialisation:

new DataTable('#myTable', {
	layout: {
		topStart: {
			buttons: ['searchPanesClear', 'searchPanes']
		}
	}
});