{hero}

searchPanes.viewCount

Since: SearchPanes 1.3.0

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

Description

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

Type

boolean

Description:

By setting the searchPanes.viewCount option to false the count column will be hidden in all of the panes.

Default

  • Value: true

The default value for the searchPanes.viewCount parameter is true, 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'
	},
	searchPanes: {
		viewCount: false
	}
});

Related

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