I have a tabpanel where some tabs are hidden. How can i check which tabs are hidden and which are not.
For example:
– There are 5 tabs tab1, tab2, tab3, tab4, tab5. tab2 and tab4 are hidden.
– if i m in tab1 then tab2.hidden is true or tab2.isVisible() is false
– if i m in tab1 then tab3.hidden is true or tab3.isVisible() is false
So how can i check the actual hidden tabs????
Thanks a lot for help
Regards
I’m guessing that you are looking for the visibility of tab strip item. You can get the tab’s node with
getTabEl(tab)on the TabPanel. From the tab you can use:Note, regardless of the name
getTabElreturns a DOM node not anExt.Elementwhich is why you need theExt.get(orExt.flyif you like to live dangerously).