How can I use the calendar properties (f.i. minDate) when the calendar component is used as a datepicker.
“view”: “calendar”, “minDate”:“2015-10-01” works
“view”: “datepicker”, “minDate”:“2015-10-01” doesn’t work
How can I use the calendar properties (f.i. minDate) when the calendar component is used as a datepicker.
“view”: “calendar”, “minDate”:“2015-10-01” works
“view”: “datepicker”, “minDate”:“2015-10-01” doesn’t work
Yes, datepicker does not have such a property. You can directly apply it to Сalendar that is inside popup body:
Thanks Maria, it works.
I don’t understand how though
getPopup() method of DatePicker returns reference to Popup that contains Calendar view in its body. Applying getBody() allows to get Calendar and set minDate property for it.