Check documentation for the latest version of dhtmlxSuite getAllTabs DHTMLX Docs

getAllTabs

returns an array of the tabbar tabs' ids

array getAllTabs();
arrayarray with tabs ids

Example

var myTabbar = new dhtmlXTabBar("parentId");
 
myTabbar.addTab("a1", "Rage", null, null, true);
myTabbar.addTab("a2", "Motorhead");
 
// get list of tabs
var ids = myTabbar.getAllTabs(); // -> ["a1", "a2"]

Change log

added in 3.5

Back to top