savedStates
Since: StateRestore 1.0.0
Collection used to provide interaction with the saved states.
Please note - this property requires the StateRestore extension for DataTables.
Description
This is a collection that contains a number of stateRestore
buttons, one for each state that is being stored by StateRestore.
Options
This button can have the following options set in its configuration object to customise its actions and display, in addition to those options which are available for all buttons (e.g. buttons.buttons.text
):
Name | Type | Default |
---|---|---|
config | {} | |
This option allows for StateRestore to be configured. |
Example
savedStates button modify text:
DataTable.ext.buttons.savedStates.text = function (e, dt, node, config) {
return 'Saved states collection';
};