i18n.datetime.previous
Since: Editor 1.5.2
Previous month button text (hidden by default).
Please note - this property requires the Editor extension for DataTables.
Description
The datetime picker will show a previous button at the top left of the input calendar allowing the end user to quickly jump to the previous month, relative to the one that is currently being shown by the calendar.
This string is not shown by default - Editor's CSS will hide the string, but it can be useful for accessibility, allowing screen readers to state what the button does.
Type
This option can be given in the following type(s):
Example
Use French string for the previous month button:
var editor = new DataTable.Editor({
ajax: 'api/staff',
table: '#myTable',
i18n: {
datetime: {
previous: 'Précédent'
}
}
});Related
The following options are directly related and may also be useful in your application development.