language.select
Container object for language strings used by Select.
Please note - this property requires the Select extension for DataTables.
Description
Select makes use of a number of strings that are displayed to the end user to explain what action will be performed based on the user input.
Parameters of this object provide the ability to customise those strings to suit your needs. This can be a full translation or a tweak of just one or two strings to match the styling of your site / app.
Type
object
- Description:
This is a container object for the language strings used by Select:
language.select.rows
- Table summary information, row count stringlanguage.select.columns
- Table summary information, column count stringlanguage.select.cells
- Table summary information, cell count string
Example
Set the strings to be used for row selection:
new DataTable('#myTable', {
language: {
select: {
rows: {
_: 'Selected %d rows',
1: 'Selected 1 row'
}
}
},
select: true
});