DHTMLX Docs & Samples Explorer

onContextMenu Event

Parameters:

  • id of event;
  • native event object.
  scheduler.attachEvent("onContextMenu", function (event_id, native_event_object){
       //any custom logic here
  });

Event called when right mouse button was clicked in the scheduler.

If click was on the event - event_id will contain id of event, or null value in other case.