Hello, I am using the maps example. I want to save the new events that I add. After clicking the button save (as in the attached figure), I want to call my web services. In which part of the code can I do that?
Support Forum
Try afterEventSave
https://bryntum.com/docs/scheduler/#Scheduler/feature/EventEdit#event-afterEventSave
scheduler.on({
afterEventSave : ({eventRecord}) => {
console.log(eventRecord.name)
}
});
/**
* Fires on the owning Scheduler after an event is successfully saved
* @event afterEventSave
* @on-owner
* @param {Scheduler.view.Scheduler} source The scheduler instance
* @param {Scheduler.model.EventModel} eventRecord The record about to be saved
*/
It's all in the documentation, look at the events
https://bryntum.com/docs/scheduler/#Scheduler/view/Scheduler#events
https://bryntum.com/docs/scheduler/#Scheduler/view/Scheduler#event-eventResizeEnd