language.stateRestore.removeConfirm
Set the confirmation message shown within the StateRestore remove modal.
Please note - this property requires the StateRestore extension for DataTables.
Description
This string is displayed within the remove modal to confirm that a user wants to remove this state. The %s token will be replaced with the name of the state, or states that are being removed.
When multiple states are being deleted, the states will be listed separated by a comma (,
), except for the last two states that will be separated by the value of language.stateRestore.removeJoiner
.
Type
string
- Description:
The string that will be displayed within the remove modal to confirm that a user wants to remove this state.
Default
- Value:
Are you sure you want to remove %s?
Example
Change text within remove confirmation modal:
new DataTable('#myTable', {
language: {
stateRestore: {
removeConfirm: 'Confirm you want to remove %s.'
}
},
layout: {
topStart: {
buttons: ['createState', 'savedStates']
}
}
});
Related
The following options are directly related and may also be useful in your application development.