Check documentation for the latest version of dhtmlxSuite attachToolbar DHTMLX Docs

attachToolbar

attaches dhtmlxToolbar to component's top

object attachToolbar( [object conf] );
confobjectoptional, toolbar config
objectdhtmlXToolbarObject instance

Example

var myToolbar = dhxComponent.attachToolbar({
    icons_path: "imgs/toolbar/icons/",
    json: "data/json/toolbar.json"
});

Back to top