onContextMenu

fires when the user calls the context menu by clicking the right mouse button inside the scheduler

void onContextMenu(string id,Event e);
idstringthe event's id
eEventa native event object

Example

scheduler.attachEvent("onContextMenu", function (id, e){
    //any custom logic here
});

Related samples

Details

if the user clicks on an event, the handler will take the event's id, otherwise - null.

Back to top