Gets or sets a value indicating whether date part selection is enabled.
Namespace: MindFusion.Common.UI
File: DateTimePicker.js
JavaScript Copy Code |
---|
get datePartSelect() {} |
Boolean. true if date part selection should be enabled, otherwise false.
Part selection of a date is allowing only a specific part of the date to be selected.
The following code creates a new DateTimePicker using an HTML div element with an id "date_picker". The dateTimePicker advances with one day, tries to parse incomplete output and allows part selection of the date:
JavaScript Copy Code |
---|
var u = MindFusion.Common.UI; var dateTimePicker = new ui.DateTimePicker(document.getElementById("date_picker")); |