if(event.type == "beforeeventedit"){ if(condition) return false }
Support Forum
I want to disable edit and delete functionality for a particular event. Below is my code which is obviously not working. If its possible not to show edit/delete context menu when right click on an event or any other solution,please suggest.
Just set the eventContextMenu feature to false. Docs:
https://bryntum.com/docs/scheduler/#Sch ... ontextMenu
https://bryntum.com/docs/scheduler/#Sch ... ontextMenu
Then use this event: https://www.bryntum.com/docs/scheduler/ ... BeforeShow
Fired from scheduler before the context menu is shown for an event. Allows manipulation of the items to show in the same way as in processItems. Returning false from a listener prevents the menu from being shown.