activeView

sets the currently active view

string activeView;

Deprecated

instead of it, you can use the activeTab property:

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" }
    ]
});

Example

var tabbar = new dhx.Tabbar("tabbar", {activeView:"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" }
    ]
});

Back to top