Since: StateRestore 1.0.0

Removes all stateRestore instances.
Please note - this property requires the StateRestore extension for DataTables.


This button can be displayed at the top level alongside the savedStates and createState buttons. This button removes all stateRestore instances. This completely removes the states from storage, as well as removing the buttons that represent them.

No confirmation modal is shown as default when using this button.

This button is used within the stateRestore extension. It won't do anything if removing states is disabled using the stateRestore.remove initialisation option.

This button does not have any extra configuration options that are not available by default. The text in the button can be set by using the language.buttons.removeAllStates option.


removeAllStates button modify text:

$.fn.dataTable.ext.buttons.removeAllStates.text = function (e, dt, node, config) {
    return "Remove Everything";