DHTMLX Docs & Samples Explorer

unload()

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxtoolbar.js

destructor, completely unloads toolbar

    var toolbar = new dhtmlXToolbarObject();
    ...
    // unloading
    toolbar.unload();
    toolbar = null;