checks whether an event has some handler(s) specified
name | string | the event's name |
boolean | returns true, if some handler is specified for the event |
gantt.attachEvent("onTaskClick", function(id, e) {
alert("You've just clicked an item with id="+id);
});
gantt.checkEvent("onTaskClick"); //returns 'true'