Check documentation for the latest version of dhtmlxSuite isActive DHTMLX Docs

isActive

returns the tab's active/inactive state

boolean isActive();
booleantrue/false if a tab is active/inactive

Example

var myTabbar = new dhtmlXTabBar("parentId");
 
myTabbar.addTab("a1", "Rage", null, null, true);
myTabbar.addTab("a2", "Motorhead");
myTabbar.addTab("a3", "Poisonblack");
 
var isActv = myTabbar.tabs("a1").isActive();

Change log

added in version 4.0

Back to top