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