Before I open a new tab in the tabbar - i need to verify if tab with the same ID is not exist.
I did not find any method in the tabbar API, so I extend the javascript “dhtmlxtabbar.js” with new method:
// retrun the boolen flag if tab with id already exists
tabExist:function (id){
var tab=this._tabs[id];
if (tab == null) return false;
return true;
},
Does anybody know the regular way hot to do the similar thing?