Since: SearchPanes 1.3.0

Hide the count column in the pane of a specific column.
Please note - this property requires the SearchPanes extension for DataTables.


As standard, SearchPanes will be displayed with the count column included in the table. However if the value of columns.searchPanes.viewCount is set to false then the count column won't be displayed.

The count column can be hidden for all of the panes by making use of searchPanes.viewCount.

This option replaces the deprecated columns.searchPanes.hideCount from version 1.2.1+. It was replaced to maintain consistency with searchPanes.viewTotal.




By setting the columns.searchPanes.viewCount option to false the count column will be hidden in the pane for that specific column.


  • Value: true

The default value for the columns.searchPanes.viewCount parameter is true, meaning that as standard the count column will be included in the pane.


Hide count for the 5th columns pane:

new DataTable('#myTable', {
	layout: {
		top1: 'searchPanes'
	columnDefs: [
			searchPanes: {
				viewCount: false
			targets: [4]


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