Check documentation for the latest version of dhtmlxSuite attachMenu DHTMLX Docs

attachMenu

attaches dhtmlxMenu to a window

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

Example

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

Back to top