Check documentation for the latest version 6.0 of dhtmlxSuite isActive DHTMLX Docs

isActive

returns the tab's active/inactive state

boolean isActive();

Returns

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