searchPanes.hideCount
Hide the count column in all panes.
Please note - this property requires the SearchPanes extension for DataTables.
Deprecated!
As of v this feature has been deprecated. This feature has not yet been scheduled for removal, but its use is discouraged and the alternatives discussed below should be used.
Description
As standard, SearchPanes will be displayed with the count column included in the table. However if the value of searchPanes.hideCount
is set to true
then the count column won't be displayed in any of the panes.
The count column can be hidden for individual panes by the columns.searchPanes.hideCount
option.
Type
boolean
- Description:
By setting the
searchPanes.hideCount
option totrue
the count column will be hidden in all of the panes.
Default
- Value:
false
The default value for the searchPanes.hideCount
parameter is false
, meaning that as standard the count column will be included in the panes.
Example
Hide count for all panes:
new DataTable('#myTable', {
layout: {
top1: {
searchPanes: {
hideCount: true
}
}
}
});
Related
The following options are directly related and may also be useful in your application development.