attachToolbar

attaches dhtmlxToolbar to a cell

object attachToolbar( [object conf] );

Parameters

confobjectoptional, toolbar config

Returns

objectdhtmlXToolbarObject instance

Example

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

Back to top