i've set the start Date in the CalendarDateInterval Control with
self.getView().byId("calendar").setStartDate(DeliveryDate); //DeliveryDate = 25. October
now it looks like this:
That's ok because now it's in my focus. But i want to highlight the start date like this
It is only highlighted with a click. Any idea?
Here is the solution:
var cal = this.byId("calendar")
cal.focusDate(DeliveryDate);
cal.insertSelectedDate(new DateTypeRange({ startDate : DeliveryDate }));