Check documentation for the latest version of dhtmlxSuite attachSidebar DHTMLX Docs

attachSidebar

attaches dhtmlxSidebar to a cell

object attachSidebar( [object conf] );
confobjectoptional, sidebar config for api-init
objectdhtmlxSidebar instance

Example

var mySidebar = dhxComponent.cells(id).attachSidebar({ items: [ {id: "a1", text: "Tab 1", active: true}, {id: "a2", text: "Tab 2"} ] });

Back to top