Check documentation for the latest version of dhtmlxSuite attachMenu DHTMLX Docs

attachMenu

attaches dhtmlxMenu to component's top

object attachMenu( [object conf] );
confobjectoptional, menu config
objectdhtmlXMenuObject instance

Example

var myMenu = dhxComponent.attachMenu({
    icons_path: "imgs/menu/icons/",
    json: "data/json/menu.json"
});

Back to top