Check documentation for the latest version of dhtmlxSuite attachSidebar DHTMLX Docs

attachSidebar

attaches dhtmlxSidebar to a popup

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

Example

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

Back to top