Check documentation for the latest version 6.0 of dhtmlxSuite attachMenu DHTMLX Docs

attachMenu

attaches dhtmlxMenu to component's top

object attachMenu( [object conf] );

Parameters

confobjectoptional, menu config

Returns

objectdhtmlXMenuObject instance

Example

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

Back to top