onClick Event

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

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