i18n.selected
Since: DateTime 1.6.0
Selected button text value.
Please note - this property requires the DateTime extension for DataTables.
Description
Sets the string that will be shown in the Selected button when enabled by buttons.selected
, and causes the display to jump to the currently selected value when activated.
Default
- Value:
Selected
Example
Set selected button text:
new DateTime(document.getElementById('test'), {
buttons: {
selected: true
},
i18n: {
selected: 'Show selected value'
}
});
Related
The following options are directly related and may also be useful in your application development.