bryntum / support

An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
https://www.bryntum.com
54 stars 6 forks source link

`beforeEventDelete` is not getting triggered when deleting with delete key #10176

Open taauntik opened 1 week ago

taauntik commented 1 week ago

Forum Post I'm using this example: https://bryntum.com/products/scheduler/examples/bigdataset/

and the code below. When the user press "delete key" i'm expected to enter in the beforeDelete event. But nothing happen except if i do it by the right click.

Can you help me?

    listeners : {
        beforeEventDelete() {
            console.log('deleted');
        }
    },
matsbryntse commented 5 days ago

In this demo, an assignment store is being used so you should listen to:

listeners : {
        beforeAssignmentDelete() {
            console.log('deleted');
        }
    },