i18n.edit.submit

Since: Editor 1.0

Edit display submit button text.
Please note - this property requires the Editor extension for DataTables.

Description

This option defines the text that will be displayed in the edit form's submit button.

This option is only used as part of the edit 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_edit 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 edit button:

var editor = new DataTable.Editor({
	ajax: 'php/staff.php',
	table: '#myTable',
	i18n: {
		edit: {
			button: 'Modifier',
			title: 'Modifier entrée',
			submit: 'Actualiser'
		}
	}
});

Related

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