language.buttons.renameState
Since: StateRestore 1.0.0
Set the text within the StateRestore rename button.
Please note - this property requires the StateRestore extension for DataTables.
Description
This string is displayed in StateRestore's rename button. The button is fully documented at renameState
.
The value set here is passed through the i18n()
function.
Type
Default
- Value:
Rename
Example
Change text within rename button:
$(document).ready(function() {
$('#example').DataTable( {
language: {
buttons: {
renameState: 'Change Name'
}
},
buttons: [ 'createState', 'savedStates' ],
dom: 'Bfrtip'
});
});
Related
The following options are directly related and may also be useful in your application development.