sets a new value for the component
date | string|Date | a Date object or a string representing a date |
webix.ui({
view:"calendar",
id:"calendar1"
});
$$('calendar1').setValue(new Date(2012,3,30));
The method is analogous to selectDate.