attachRibbon

attaches dhtmlxRibbon to a cell

object attachRibbon( [object conf] );

Parameters

confobjectoptional, ribbon config

Returns

objectdhtmlXRibbon instance

Example

var myRibbon = dhxComponent.cells(id).attachRibbon({
    icons_path: "imgs/ribbon/icons/",
    json: "data/json/ribbon.json"
});

Back to top