onClick event can call a user-defined handler (if there is any) and pass the following parameters:
scheduler.attachEvent("onEventAdded", function(event_id,event_object){ //any custom logic here });