{hero}

language.stateRestore.removeError

Since: StateRestore 1.0.0

Set the error message shown when incorrectly removing a state.
Please note - this property requires the StateRestore extension for DataTables.

Description

This string is displayed within the remove modal to indicate an error has occured when removing the state.

Type

string

Description:

The string that will be displayed within the remove modal when an error occurs.

Default

  • Value: Failed to remove state.

Example

Change text within remove confirmation modal:

1
2
3
4
5
6
7
8
9
10
11
12
new DataTable('#myTable', {
    language: {
        stateRestore: {
            removeError: 'ERROR!'
        }
    },
    layout: {
        topStart: {
            buttons: ['createState', 'savedStates']
        }
    }
});

Related

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

Comments (0)

No comments posted for this page yet. Be the first to contribute!

Post new comment

Contributions in the form of tips, code snippets and suggestions for the above material are very welcome. To post a comment, please use the form below. Text is formatted by Markdown.

To post comments, please sign in to your DataTables account, or register:

Any questions posted here will be deleted without being published.
Please post questions in the Forums. Comments are moderated.