Since: SearchPanes 1.1.0

Enable SearchPanes through a button.
Please note - this property requires the SearchPanes extension for DataTables.


When working with SearchPanes you will typically wish to configure SearchPanes options to customise either appearance or functionality.

By providing an config object buttons.buttons.config the SearchPanes within the button can be customised as desired. The config object is structured in the same way as the SearchPanes config Object is normally.

SearchPanes makes use of the following Buttons properties.


SearchPanes Button initialisation: Set the config for SearchPanes to enable the cascadePanes option:

new DataTable('#myTable', {
	layout: {
		topStart: {
			buttons: [
					extend: 'searchPanes',
					config: {
						cascadePanes: true