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

isEnabled

returns the tab's enabled/disabled state

boolean isEnabled();

Returns

booleantrue/false if a tab is enabled/disabled

Example

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

Change log

added in 4.0

Back to top