{hero}

language.stateRestore.removeSubmit

Since: StateRestore 1.0.0

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

Description

This string is displayed in the confirmation button within the remove modal that is shown when a state is being removed.

Type

string

Description:

The string that will be displayed within the button that is shown in the remove modal.

Default

  • Value: Remove

Example

Change text within remove confirmation button:

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

Related

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