Check documentation for the latest version of dhtmlxSuite clearAll DHTMLX Docs

clearAll

removes all tabs

void clearAll();

Example

var myTabbar = new dhtmlXTabBar("parentId");
 
// adding tabs
myTabbar.addTab("a1", "Rage", null, null, true);
myTabbar.addTab("a2", "Motorhead");
 
// remove all
myTabbar.clearAll();

Back to top