Check documentation for the latest version of dhtmlxSuite show DHTMLX Docs

show

shows the specified tab

void show(boolean mode);
modeboolean(optional) if set to true - selects the tab after show, default false

Example

var myTabbar = new dhtmlXTabBar("parentId");
 
myTabbar.addTab("a1", "Rage", null, null, true);
myTabbar.addTab("a2", "Motorhead");
myTabbar.addTab("a3", "Poisonblack");
 
myTabbar.tabs("a1").hide(); // hide a1 and select a2
 
// show tab
myTabbar.tabs("a1").show(); // show a1, but a2 still selected
// or
myTabbar.tabs("a1").show(true); // show a1 and then select

Change log

added in version 4.0

Back to top