Hello,
Want to add / remove events on scheduler pro component.
Tried ->
this.scheduler.schedulerInstance.addEvent();
and this.scheduler.schedulerInstance.removeEvent();
which was working for normal scheduler but not for scheduler pro.
Hi, NARESH.RAI
To add/remove data, you need to operate with data stores. So, for remove/add events, please use eventStore
methods
https://bryntum.com/docs/scheduler-pro/#SchedulerPro/data/EventStore#function-add
https://bryntum.com/docs/scheduler-pro/#SchedulerPro/data/EventStore#function-remove
Keep in mind that assignmentStore
also needs to be updated.
https://bryntum.com/docs/scheduler-pro/#SchedulerPro/model/EventModel#function-assign
All best,
Alex
All the best,
Alex