[REACT] when I right cilck the mouse, it will show Delete、cut and Copy, how to disable this function
Support Forum
Hi,
Please study the docs :
https://bryntum.com/docs/scheduler-pro/api/Scheduler/feature/EventMenu
Here is a little code snippet of how you can achieve that :
const schedulerConfig = {
....
eventMenuFeature : {
items : {
copyEvent : { disabled : true },
cutEvent : { disabled : true },
deleteEvent : { disabled : true }
}
}
};
Best regards,
Tasnim
Then you need to check the cellMenu
feature, Please check below.
https://bryntum.com/docs/scheduler-pro/api/Grid/feature/CellMenu
Here is how you can achieve it:
cellMenuFeature : {
items : {
removeRow: { disabled : true },
cut: { disabled : true },
copy: { disabled : true }
}
}