30 Apr 2012 7:56 AM #1
Answered: SetFocus Tab on TabPanel
Hi everybody, I have a question, it is possible when I loaded a page, see the second tab from my tabPanel?
I suppose that I have to declare a function in a listener of my tabPanel, right?
Hope you can help me, thanks in advance.
When creating the tabpanel you can use the activeItem config passign in the index of th eitem you want active. If after tabpanel has been created you can use the setActiveItem method
2 May 2012 5:57 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
When creating the tabpanel you can use the activeItem config passign in the index of th eitem you want active. If after tabpanel has been created you can use the setActiveItem methodMitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
7 May 2012 7:03 AM #3