i18n.datetime.unknown
Since: Editor 1.5.2
Time picker unknown value.
Please note - this property requires the Editor extension for DataTables.
Description
The datetime picker has options to allow the end user to select only from certain values when entering time date - minutesIncrement and secondsIncrement. If a database value exists already with minute or second information that is not available in the given options (i.e. it is not a value the end user can select), the string given by this option will be shown instead.
Type
This option can be given in the following type(s):
Example
Use a question mark for unknown values:
var editor = new DataTable.Editor({
ajax: 'api/staff',
table: '#myTable',
i18n: {
datetime: {
unknown: '?'
}
}
});Related
The following options are directly related and may also be useful in your application development.