This event only prevents the delete from the event menu but still deletes using the delete button in the keyboard.
this.scheduler.on('beforeEventDelete', (event : any) => {
console.log('delete', event);
return false;
});
Hi,
You could use this listener https://bryntum.com/products/scheduler/docs/api/Scheduler/data/EventStore#event-beforeRemove
And try preventing from it
scheduler.eventStore.on('beforeRemove', (e) => {
return false;
});
Hi,
It works on my side with the latest version https://bryntum.com/products/scheduler/examples/basic/. What version are you using?
Hi, I've reproduced this in SchedulerPro. In Scheduler it was working ok.
I've opened a ticket to investigate this bug here https://github.com/bryntum/support/issues/6941
All the best,
Alex