I’m getting my startDate and endDate from an API. How can I refresh the view to get those into the calendar?
I tried:
view: MbscEventcalendarView = {
schedule: {
type: 'week',
allDay: false,
startDay: 1,
endDay: 1,
startTime: '07:00',
endTime: '19:00'
}
};
and then
this.view.schedule.startDay = this.startWeekDay
this.view.schedule.endDay = this.endWeekDay
I tried
this.instance.refresh()
from
@ViewChild("myEventcalendar", { static: false })
instance: MbscEventcalendar;
but there’s no change