Check documentation for the latest version 6.0 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