language.stateRestore.renameLabel
Set the label next to the input element within the StateRestore rename modal.
Please note - this property requires the StateRestore extension for DataTables.
Description
The string that will be displayed next to the input element within the rename modal to indicate the input should take the new name for this state. The %s token will be replaced with the name of the state that is being removed.
Type
string
- Description:
The string that will be displayed next to the input element within the rename modal to indicate the input should take the new name for this state.
Default
- Value:
New Name for %s:
Example
Change text within remove confirmation modal:
new DataTable('#myTable', {
language: {
stateRestore: {
renameLabel: 'Rename To:'
}
},
layout: {
topStart: {
buttons: ['createState', 'savedStates']
}
}
});
Related
The following options are directly related and may also be useful in your application development.