Since: SearchPanes 1.0.0

Disable buttons to allow quick clearing of selections in panes.
Please note - this property requires the SearchPanes extension for DataTables.


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.




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.


  • 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.


Disable Clear Buttons:

new DataTable('#myTable', {
	layout: {
		top1: 'searchPanes'
	searchPanes: {
		clear: false