stateRestore.state().details()
Get the details about a state.
Please note - this property requires the StateRestore extension for DataTables.
Description
At times you may wish to inspect the details of a particular state object. This method provides the ability to access the underlying state object used by StateRestore. They are of type StateRestore.State with all the properties defined there available in the object.
Mutating the state object is not currently supported - don't write values to it as there is no API to tell StateRestore that they have changed. This object is considered to be read-only.
Type
stateRestore.state().details()
Get the state details for the item selected.
Returns:
StateRestore.State or null: An object containing details about the selected state. Can be null if no matching state was selected.
Related
The following options are directly related and may also be useful in your application development.