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:
123456789101112new
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.
Post new comment
Contributions in the form of tips, code snippets and suggestions for the above material are very welcome. To post a comment, please use the form below. Text is formatted by Markdown.
To post comments, please sign in to your DataTables account, or register:
Any questions posted here will be deleted without being published.
Please post questions in the Forums. Comments are moderated.