Check documentation for the latest version of dhtmlxSuite unload DHTMLX Docs

unload

unloads a menu from the page (destructor)

void unload();

Example

// init menu
var myMenu = new dhtmlXMenuObject();
 
// some actions if any
// ...
 
// unloading menu
myMenu.unload();
myMenu = null;

Back to top