Mode: PP.Ui.MonthCalendarMode;
The Mode property returns the display mode of the calendar and the component entry field.
The value of the property consists of elements of the MonthCalendarMode enumeration.
To execute the example, create the DateTimePicker component (see Example of Creating the DateTimePicker Component) named DTP. Set the two value for the Mode property in order to display the component date in the months mode:
DTP.setMode(2);
After executing the example the time and date editor is displayed in the months mode. The entry field and the calendar of date choosing has the following view:
See also: