jQueryUIDateTimePicker
A simple alternative to the built-in Mendix datepicker, that uses the jQueryUI Datepicker and Trent Richardson's Timepicker addon (http://trentrichardson.com/examples/timepicker/).
Some key-features:
- select picker type (datepicker, timepicker, or datetimepicker)
- set custom date/time format
- set a year range and/or time range
- set a custom placeholder text
- select several themes, including a Mendix based theme
Installation
Add the widget to a dataview and select a datetime attribute the date/time should be saved to.
Configuration
General
Attribute: The DateTime attribute the data is stored in
Picker type: Set the picker type: Date picker, time picker, or Date and Time picker
Display button bar: If set to 'yes', displays 'Today' and 'Done' buttons
Display
Icon tooltip: Set a tooltip on the calendar icon
Placeholder text: Set a custom placeholder text. If left empty, the date/time format will be shown as placeholder
Label: The label to show on the form. Leave empty for no label
Label width: Width of the label. Only applicable for horizontal display
Label display: Horizontal (next to the input) or verticel (above the input)
Theme: set a theme/style for the datepicker
Date options
Custom date format: set a custom date format to be used. See jQueryUI documentation (http://api.jqueryui.com/datepicker/#utility-formatDate) for possible formats
Default date: The default date of the datapicker (attribute or string). Should be corresponding to the date format
Range: Range in years. Can be either absolute (1970:2018) or relative (-10:+10)
Time options
Time format: Set a custom time format to be used. See Time picker documentation (http://trentrichardson.com/examples/timepicker/#tp-formatting) for possible formats
Minimum/Maximum time: Set the minimum/maximum time of the timepicker. Should be corresponding to the time format
Add slider buttons: Show +/- buttons next to the slider
Behaviour
Set optional on-click microflow
Known bugs
None