Skip to main content

activeTab

sets the currently active tab

activeTab?: string;

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 sample: Tabbar. Active Tab

Change log:

added in v6.4