Our pure JavaScript Scheduler component


Post by magicflute »

Hi there!
I've been reading the docs and trying out the scheduler for a few days now. I can't seem to figure out how to "capture" event modifications.
For example, when I add a new event to the scheduler board - how do I catch the data for it? I want to send the new events to the backend.
A small example snippet would be perfect ;)
Thanks in advance!


Post by mats »

You listen to the EventStore, see list of events here:

https://bryntum.com/docs/scheduler/#Scheduler/view/Scheduler#events

scheduler.eventStore.on({
     add : console.log,
     update : console.log,
     change : console.log,
     remove : console.log
})

Post Reply