fires after all tasks were removed from the Gantt chart by the clearAll method
gantt.attachEvent("onClear", function (){ //any custom logic here });