i18n.remove.button
Since: Editor 1.0
Remove button text.
Please note - this property requires the Editor extension for DataTables.
Description
This option defines the text that will be displayed in the remove button type.
This option is only used as part of the remove button that Editor makes available to the Buttons extension for DataTables. If you are not using Buttons, the language strings presented to the end user can be configured through the API methods such as title() and buttons().
For legacy installations using TableTools, the editor_remove button type also makes use of this option.
Type
This option can be given in the following type(s):
Example
Use French language strings for the remove button:
var editor = new DataTable.Editor({
ajax: 'php/staff.php',
table: '#myTable',
i18n: {
remove: {
button: 'Supprimer',
title: 'Supprimer',
submit: 'Supprimer',
confirm: {
_: 'Etes-vous sûr de vouloir supprimer %d lignes?',
1: 'Etes-vous sûr de vouloir supprimer 1 ligne?'
}
}
}
});Related
The following options are directly related and may also be useful in your application development.