{hero}

searchPanes.controls

Since: SearchPanes 1.0.0

Hide the control buttons and disable searching in all panes.
Please note - this property requires the SearchPanes extension for DataTables.

Description

As standard, SearchPanes will be displayed with the control buttons included in the interface with searching enabled. However if the value of searchPanes.controls is set to false then the control buttons will no longer be displayed and searching will be disabled in all of the panes.

The control buttons can be hidden and searching disabled for individual panes by the columns.searchPanes.controls option.

Type

boolean

Description:

By setting the searchPanes.controls option to false the control buttons will be hidden and searching will be disabled in all of the panes.

Default

  • Value: true

The default value for the searchPanes.controls parameter is true, meaning that as standard the control buttons will be included and searching will be active in the panes.

Example

Hide control buttons and disable searching for all panes:

new DataTable('#myTable', {
	layout: {
		top1: {
			searchPanes: {
				controls: false
			}
		}
	}
});

Related

The following options are directly related and may also be useful in your application development.