{hero}

searchPanes.cascadePanes

Since: SearchPanes 1.0.0

Allow panes to cascade under selection.
Please note - this property requires the SearchPanes extension for DataTables.

Description

This option is an alias to searchPanes.cascadePanes, 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.cascadePanes for full details of this option.

Type

boolean

Description:

By setting the searchPanes.cascadePanes option to true, when a selection is made the options in the other panes which have no values currently being shown in the table hidden.

Default

  • Value: false

The default value for the searchPanes.cascadePanes parameter is false. When this default value is in place no action will be taken to cascade the panes.

Example

Enable cascading panes::

new DataTable('#myTable', {
	layout: {
		top1: 'searchPanes'
	},
	searchPanes: {
		cascadePanes: true
	}
});