{hero}

language.zeroRecords

Since: DataTables 1.10

Table empty as a result of filtering string.

Description

Text shown inside the table records when the is no information to be displayed after filtering.

Note that language.emptyTable is shown when there is simply no information in the table at all (regardless of filtering), while this parameter is used for when the table is empty due to filtering.

Type

This option can be given in the following type(s):

Default

  • Value: No matching records found

Example

Set zero records string:

new DataTable('#myTable', {
	language: {
		zeroRecords: 'No records to display'
	}
});

Related

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