language.info
Since: DataTables 1.10
Table summary information display string.
Description
This string gives information to the end user about the information that is current on display on the page. The following tokens can be used in the string and will be dynamically replaced as the table display updates.
These tokens can be placed anywhere in the string, or removed as needed by the language requires:
_START_
- Display index of the first record on the current page_END_
- Display index of the last record on the current page_TOTAL_
- Number of records in the table after filtering_MAX_
- Number of records in the table without filtering_PAGE_
- Current page number_PAGES_
- Total number of pages of data in the table_ENTRIES_
- Plural wildcard fromlanguage.entries
_ENTRIES-TOTAL_
-language.entries
with the plural resolved by the number of records in the table after filtering_ENTRIES-MAX_
- -init language.entries` with the plural resolved by the number of records in the table without filtering
Type
This option can be given in the following type(s):
Default
- Value:
Showing _START_ to _END_ of _TOTAL_ _ENTRIES-TOTAL_
Example
Show page count:
new DataTable('#myTable', {
language: {
info: 'Showing page _PAGE_ of _PAGES_'
}
});
Related
The following options are directly related and may also be useful in your application development.