Hi
After creating a new gantt instance with:-
var gantt1 = Gantt.getGanttInstance();
I am finding that the following code doesn’t add the required event:-
if (gantt1.checkEvent(“onAfterLinkAdd”) === false) {
gantt1.attachEvent(“onAfterLinkAdd”, Gantt_AddLink);
}
Because the checkEvent is returning true for this particular event. I am using the same construct for checking for other event handlers (“onAfterTaskDrag”, “onAfterLinkDelete”, “onAfterAutoSchedule”) and they all return false as expected.
Please help. Many thanks.