value

sets the initially selected date range

object value;

Example

webix.ui({
    view:"daterange",
    value:{
        start: new Date(), 
        end: webix.Date.add(new Date(), 2, "month")
    }
});

Details

The value object contains two properties:

  • start - {Date object} a Date object for the start date
  • end - {Date object} a Date object for the end date
See also
Back to top