Gantt APIEventsonClearOn this pageonClear Description Fires after all tasks were removed from the Gantt chart by the clearAll method onClear: () => void;Examplegantt.attachEvent("onClear", function (){ //any custom logic here});Related API clearAll