set minDate (or maxdate)

How can we set the minDate (or maxdate) after the control is allready set?

Any property can be changed or set with the help of define() method:

view.define(property, new_value);

http://webix.com/snippet/dadef2b3

http://docs.webix.com/desktop__redefinition.html

thanks.
i understand this solution …

The problem is that i’m using the “datePicker” control…how to set these kind of properties for this control ? (like minDatre/maxDate / blockDates: function(…) and so on?)

Ok, I see.
The properties are still set to the calendar object inside the datepicker that can be accessed as

datepicker.getPopup().getBody();

http://webix.com/snippet/d2436eb0

Great !
thnx