{hero}

searchPanes.i18n.count

Since: SearchPanes 1.0.0

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

Description

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

Type

string

Description:

searchPanes.i18n.count changes what will be displayed in the count column if not filtering.

Default

  • Value: {total}

The default value for the searchPanes.i18n.count parameter is {total}.

Example

Change messages for row count::

new DataTable('#myTable', {
	layout: {
		top1: 'searchPanes'
	},
	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.