Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Tejas Shah on Oct 06, 2008 02:19
open dhtmlx forum
DHX Tabbar: How many tabs present ?

Hi there,
I want to know how many tabs are present in tabbar.
How will I get that number ???
Answer posted by Support on Oct 06, 2008 06:13
There is no stable way to receive such info, something similar to next may be used

var count;
while (var id in tabbar.tabsId) count++;
Answer posted by Tejas Shah on Oct 07, 2008 02:07
Hi there,
             Hi I found the solution, so wanted to share it.
             Total no. of tabs = (tabbar.tabsId.last()._cInd)+1