{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:

$(document).ready(function() {
    $('#example').DataTable( {
        language: {
            stateRestore: {
                removeSubmit: 'Remove'
            }
        },
        buttons: [ 'createState', 'savedStates' ],
        dom: 'Bfrtip'
    });
});

Related

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