Check documentation for the latest version of dhtmlxSuite enable DHTMLX Docs

enable

enables the specified tab in the tabbar

void enable(boolean mode);
modeboolean(optional) set to true to select tab after enable, default false

Example

var myTabbar = new dhtmlXTabBar("parentId");
 
// enable only
myTabbar.tabs("a1").enable();
 
// enable and then select
myTabbar.tabs("a1").enableTab(true);

Change log

added in version 4.0

Back to top