language.stateRestore.removeError
Since: StateRestore 1.0.0
Set the error message shown when incorrectly removing a state.
Please note - this property requires the StateRestore extension for DataTables.
Description
This string is displayed within the remove modal to indicate an error has occured when removing the state.
Type
Default
- Value:
Failed to remove state.
Example
Change text within remove confirmation modal:
new DataTable('#myTable', {
language: {
stateRestore: {
removeError: 'ERROR!'
}
},
layout: {
topStart: {
buttons: ['createState', 'savedStates']
}
}
});
Related
The following options are directly related and may also be useful in your application development.