{hero}

language.buttons.removeAllStates

Since: StateRestore 1.0.0

Set the text within the StateRestore remove all button.
Please note - this property requires the StateRestore extension for DataTables.

Description

This string is displayed in StateRestore's remove all button. The button is fully documented at removeAllStates.

The value set here is passed through the i18n() function.

Type

string

Description:

The string that will be displayed within StateRestore's remove all button.

Default

  • Value: Remove All States

Example

Change text within remove all button:

new DataTable('#myTable', {
	language: {
		buttons: {
			removeAllStates: 'Remove All'
		}
	},
	layout: {
		topStart: {
			buttons: ['createState', 'savedStates']
		}
	}
});

Related

The following options are directly related and may also be useful in your application development.