{hero}

info.text

Since: DataTables 2.0

Table summary information display string.

Description

This option provides the string that will be used to display the info feature's summary of the table to the end user.

This option will default to the value given by language.info, which should generally be preferred over this option as the language strings can be loaded by Ajax and shared for the whole table, but if needed, this option is available to override that. It can be useful if you used multiple info features in your layout.

Please note that if you use this string, the replacement tokens documented in language.info all apply here as well.

Type

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

Default

Defaults to the language.info option.

Example

Customise the search string:

new DataTable('#myTable', {
	layout: {
		bottomStart: {
			info: {
				info: 'Showing page _PAGE_ of _PAGES_'
			}
		}
	}
});

Related

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