searchPanes.dtOpts
Define properties of the DataTables being used as Panes.
Please note - this property requires the SearchPanes extension for DataTables.
Description
This option is an alias to searchPanes.dtOpts
, 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.dtOpts
for full details of this option.
Type
object
- Description:
The panes can be customised in the same way as a standard DataTable, as they are also instances of DataTables. Their properties can be defined within the dtOpts object.
Default
- Value:
undefined
The default value for the searchPanes.dtOpts
parameter is undefined
. When this default value is in place the defaults for SearchPanes are applied.
Example
Alter searching and info of the Panes::
new DataTable('#myTable', {
layout: {
top1: 'searchPanes'
},
searchPanes: {
dtOpts: {
paging: true,
pagingType: 'numbers',
searching: false
}
}
});
Related
The following options are directly related and may also be useful in your application development.