language.stateRestore.renameButton
Since: StateRestore 1.0.0
Set the text within the StateRestore remove button.
Please note - this property requires the StateRestore extension for DataTables.
Description
This string is displayed in the confirmation button within the rename modal that is shown when a state is being renamed.
Type
string
- Description:
The string that will be displayed within the button that is shown in the rename modal.
Default
- Value:
Rename
Example
Change text within rename confirmation button:
$(document).ready(function() {
$('#example').DataTable( {
language: {
stateRestore: {
renameButton: 'Change Name'
}
},
buttons: [ 'createState', 'savedStates' ],
dom: 'Bfrtip'
});
});
Related
The following options are directly related and may also be useful in your application development.