Auto select first Tab

If there a way to set the tabbar to automatically select the first tab. I have a complex tab layout that is loaded with ajax and cannot set the for each ajax request.



Regards


Hello,


a tab can be selected by the setTabInActive method:


tabbar.setTabInActive(tabId);


or you can set selected attribute directly in the xml:


<tab selected=“1” …>…

I know about the tabbar.setTabInActive(tabId) but the ID’s I use is UUID generated and I’m unable to track the id’s. Also Some ID are duplicates and can’t be used.

Can the tabobject be se to automatically set the first tab active?

 


>> Can the tabobject be se to automatically set the first tab active?


Unfortunately, it can’t

How difficult would it be to code that into the Class?