i18n.error.system
Since: Editor 1.0
General error message language string.
Please note - this property requires the Editor extension for DataTables.
Description
This error message is shown to the end user in the form general error message container (error()) when an invalid JSON reply is returned from the server.
If this does occur, you should check the Ajax return using your browser's developer tools to understand what is being returned, as it will normally contain an error message that can be actioned.
Type
This option can be given in the following type(s):
Example
Use French language string for a general error message:
var editor = new DataTable.Editor({
ajax: 'php/staff.php',
table: '#myTable',
i18n: {
error: {
system: 'Une erreur s’est produite, contacter l’administrateur système'
}
}
});