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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.