searchPanes.clear
Disable buttons to allow quick clearing of selections in panes.
Please note - this property requires the SearchPanes extension for DataTables.
Description
This option is an alias to searchPanes.clear
, which should be preferred when using DataTables 2+. It can be used to configure SearchPanes regardless of how the panes are inserted into the document (layout
or searchPanes
).
Please refer to the documentation for searchPanes.clear
for full details of this option.
Type
boolean
- Description:
By setting the
searchPanes.clear
option to false, the buttons which allow for individual panes and all of the panes as a collective group to be cleared will not be shown.
Default
- Value:
true
The default value for the searchPanes.clear
parameter is true
. When this default value is in place the buttons which allow selections to be cleared will be visible.
Example
Disable Clear Buttons:
new DataTable('#myTable', {
layout: {
top1: 'searchPanes'
},
searchPanes: {
clear: false
}
});