Hello,
How to update calendar date using js, I want to update calendar date on the fly,
i have tried with setValue method but its not update on calendar
self.calendarInlineEnd.setValue([new Date(2018,11,29)]);
self.calendarInlineEnd.update();
calendar initalization code:
self.calendarInlineEnd = myApp.calendar.create({ containerEl: '#calendar-inline-end', value: [start._d], weekHeader: true, toolbar: false, dayNamesShort: weekNames, dateFormat: "yyyy-mm-dd", inputEl: '#to_date', } });
I have also try to modify using params but still its not working on UI:
self.calendarInlineEnd.params.value=new Date(2018,11,29);
self.calendarInlineEnd.update();
Thanks