destroys the gantt instance
const myGantt = Gantt.getGanttInstance();
//destroying a gantt instance
myGantt.destructor();
The method destroys a gantt instance and calls the onDestroy event.
Calling a destructor will:
If you use a package that does not allow creating multiple instances of a gantt (GPL or Individual editions), calling the gantt destructor will make gantt inaccessible until page reload.
added in version 5.1
Back to top