DHTMLX Docs & Samples Explorer

onEventAdded Event

onClick event can call a user-defined handler (if there is any) and pass the following parameters:

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