How can I walk through all Tabs in Tabbar

Hi,

is there a way to walk through all tabs in tabbar? I like to check all IDs of all tabs before I recreate a tab. If I find a existing ID so I can activate the Tab, otherwise I will create a new Tab.

Thanxx…

I found the DHX DB Admin Sample, this is exactly what I need, can I have a look on the source-code!?

Hi,

you may contact us at sales@dhtmlx.com regarding this demo application.

is there a way to walk through all tabs in tabbar? I like to check all IDs of all tabs before I recreate a tab.

There is not such a public method. You may use the following check:

if(tabbar._tabs[tabId]){
alert(“Tab with id=”+tabId+" exists");
}