Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by frank gualtieri on Oct 12, 2008 21:06
open dhtmlx forum
dhtmlxtoolbar

Is it possible to ask a specific tab on the tabbar for its position ?

Also

Is it possible to hide one of the tabs on a tabbar without having the other tabs "slide" up or over into the hidden tab's position?
Answer posted by Support on Oct 13, 2008 02:18
>>Is it possible to ask a specific tab on the tabbar for its position ?
Not possible , tabs doens't  have strict indexes. In theory, it possible to poll HTML structure and get tab index based on it, if necessary I can provide more detail about such workaround. 

>>Is it possible to hide one of the tabs on a tabbar without having the other tabs "slide" up or over into the hidden tab's position?
Not possible, but you can disable tab, so it will be not-selectable, but still visible, by 
       tabbar.disableTab(id);
In theory, if you will add visibility:hidden to the .dhx_tab_element_disabled css class - disabled tab will become invisible.