{hero}

searchPanes.i18n.countFiltered

Since: SearchPanes 1.0.0

Set the message to be displayed in the count column when searching.
Please note - this property requires the SearchPanes extension for DataTables.

Description

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

Type

string

Description:

searchPanes.i18n.countFiltered changes what will be displayed in the count column if the searchPanes.viewTotal option is set to true and filtering is taking place.

Default

  • Value: {shown} ({total})

The default value for the searchPanes.i18n.countFiltered parameter is {shown} ({total}).

Example

Change messages for viewTotal::

new DataTable('#myTable', {
	layout: {
		top1: 'countFiltered'
	},
	searchPanes: {
		viewTotal: true,
		i18n: {
			count: '{total} found',
			countFiltered: '{shown} ({total})'
		}
	}
});

Related

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