Premium support for our pure JavaScript UI components


Post by tomas@between.as »

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;
        });

Post by tasnim »

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;
});

Post by tomas@between.as »

I tried this and it's logging 'before remove' but it's not preventing the delete.

scheduler.eventStore.on('beforeRemove', (e) => {
    console.log('before remove');

return false;
});

Post by tasnim »

Hi,

It works on my side with the latest version https://bryntum.com/products/scheduler/examples/basic/. What version are you using?


Post by tomas@between.as »

Hi,

I'm using a custom bundle we requested from Bryntum SchedulerPro + Calendar


Post by alex.l »

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


Post by tomas@between.as »

When do you think this will be fixed?


Post by tasnim »

Hi,

Unfortunately, Can't say when it's going to be fixed. But we flagged it as high-prio to increase the priority of that ticket.
We'll try to fix it as soon as possible.

All The Best,
Tasnim


Post by nickolay »

@tomas@between.as Hi, please see my comment in the ticket.


Post Reply