attachMenu

attaches dhtmlxMenu to a cell

object attachMenu( [object conf] );

Parameters

confobjectoptional, menu config

Returns

objectdhtmlXMenuObject instance

Example

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

Back to top