searchPanesClear
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
):
Name | Type | Default |
---|---|---|
action | ||
The action function for the SearchPanesClear button calls the | ||
text | Clear Panes | |
This options allows the text within the button to be configured. |
Example
Basic SearchPanesClear button initialisation:
new DataTable('#myTable', {
layout: {
topStart: {
buttons: ['searchPanesClear', 'searchPanes']
}
}
});