Check is tab exist or get tab collection

Hi,



How i can check if a tab exist in a tabbar? or how i can get all tab ids from a tabbar?

You can use next inner method to check tab existence

    if ( tabbar._getTabById(id)) alert(“exists”);

The next collection is a hash of     id => tab
    tabbar.tabsId
so you can use
    for (id in tabbar.tabsId ) some_thing(id);
to get all ids

When i remove a tab with the method “removeTab(tab,mode)”, the id of tab removed is not deleted in the collection “tabbar.tabsId”

Answered at
    dhtmlx.com/docs/products/kb/inde … sor%20drag