disables the specified tab in the tabbar
activateId | string|boolean | (optional) set to "true" to select the next tab or to specify its id (if disabled tab selected), false by default |
var myTabbar = new dhtmlXTabBar("parentId");
// disable only, tab still active
myTabbar.tabs("a1").disable();
// disable and select next one (if "a1" was selected)
myTabbar.tabs("a1").disable(true);
// disable and select specified (if "a1" was selected)
myTabbar.tabs("a1").disable("a3");
disabled tabs ignore user clicks, but they can be selected by script
added in version 4.0
Back to top