{hero}

language.stateRestore.renameButton

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 rename modal that is shown when a state is being renamed.

Type

string

Description:

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

Default

  • Value: Rename

Example

Change text within rename confirmation button:

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

Related

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