onTaskClosed

fires when a branch has been closed

void onTaskClosed(string|number id);
idstring|numberthe branch id

Example

gantt.attachEvent("onTaskClosed", function(id) {
    alert(`You've closed a branch with id=${id}`);
});

See also
Back to top