{hero}

searchPanes.hideCount

Since: SearchPanes SearchPanes 1.0.0

Deprecated. Hide the count column in all panes.
Please note - this property requires the SearchPanes extension for DataTables.

Description

This option is deprecated from version 1.2.1+. It was replaced by columns.searchPanes.viewCount to maintain consistency with searchPanes.viewTotal. For now this option can still be used, but it will be removed in the future.

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 to true 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:

$(document).ready(function() {
    $('#example').DataTable({
		dom: 'Plfrtip',
        searchPanes: {
            hideCount: true
        }
    });
});

Related

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