sets a new date range
range | object | range object with 'start' and 'end' fields for currently selected date range |
config | any | operation config |
webix.ui({
view:"daterange1",
id:"daterange1"
});
$$("daterange1").setValue({start:new Date(2016,9,30), end:new Date(2016,10,2)});
The range object contains two fields, or either of them:
The second parameter can be of any type (from a string to an object). config will be passed to the onChange event as the last parameter