i18n.multi.restore
Button to restore multiple values if multi-row editing.
Please note - this property requires the Editor extension for DataTables.
Description
When multi-row editing in Editor, if a field is shown initially with multiple values the user has the option of editing the values of the editing items - however, all items will be set to the same value if editing via the UI (only the API can set different values - see field().multiSet()).
When the field is shown for editing this string is shown in a clickable element that the end user can select to return the field to its original multi-value state. This can be used if they were to accidentally click on the button to trigger single value editing for the field for example.
Type
This option can be given in the following type(s):
Example
Use French language strings for the multi-row editing features:
var editor = new DataTable.Editor({
ajax: '/api/staff',
table: '#myTable',
i18n: {
multi: {
title: 'Plusieurs valeurs',
info: 'Les éléments sélectionnés contiennent des valeurs différentes pour cette entrée. Pour modifier et mettre tous les éléments pour cette entrée pour la même valeur, cliquez ou appuyez ici, sinon ils vont conserver leurs valeurs individuelles.',
restore: 'Restaurer les valeurs multiples',
noMulti:
"Cette entrée peut être modifiée individuellement, mais ne fait pas partie d'un groupe."
}
}
});Related
The following options are directly related and may also be useful in your application development.