Skip to main content

onDestroy

Description

Called after gantt has been cleared by the destructor method

onDestroy: () => void;

Example

gantt.attachEvent("onDestroy", function(){
alert("free custom resources");
});

gantt.destructor();