activeTab

sets the currently active tab

string activeTab;

Example

var tabbar = new dhx.Tabbar("tabbar", {
    activeTab:"3",
    mode: "top",
    views:[
        { id:"1", tab: "leftside", css:"panel flex", header:"Left"},
        { id:"2", tab: "west", css:"panel flex", header:"West"},
        { id:"3", tab: "east", css:"panel flex", header:"East"},
        { id:"4", tab: "right", css:"panel flex", header:"Right" }
    ]
});

Related samples

Change log

added in v6.4

Back to top