calls an inner event
name | string | the event's name, case-insensitive |
params | array | optional, an array of the event-related data |
boolean | false, if some of the event handlers returns false. Otherwise, true |
gantt.attachEvent("CustomEvent", function(param1, param2){
return true;
});
var res = gantt.callEvent("CustomEvent", [param1, param2]);
Normally, events are called automatically and you don't need to use this method.
Back to top