language.buttons.savedStates
Since: StateRestore 1.0.0
Set the text within the StateRestore savedStates button.
Please note - this property requires the StateRestore extension for DataTables.
Description
This string is displayed in StateRestore's savedStates button. The button is fully documented at savedStates.
The value set here is passed through the i18n() function.
Type
string
The string that will be displayed within StateRestore's savedStates button.
Default
- Value:
Saved States
Example
Change text within the savedStates button:
new DataTable('#myTable', {
language: {
buttons: {
savedStates: 'States'
}
},
layout: {
topStart: {
buttons: ['createState', 'savedStates']
}
}
});Related
The following options are directly related and may also be useful in your application development.