Check documentation for the latest version 6.0 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