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