26 Oct 2012 5:03 PM #1
Unanswered: Save active tab in storage provider?
I set my tab panel to be stateful and gave it a stateId. It doesn't seem to do much of anything though. I figured it would save the active tab state. Is this something I need to manage on my own or should the framework handle that? Thanks in advance -- I'm just looking for pointers before I waste time one way or the other doing the wrong thing.
29 Oct 2012 6:14 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Have you used the stateEvents?Mitchell 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 firstname.lastname@example.org
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.
30 Oct 2012 3:05 PM #3
Nope. I guess I have some more reading to do. Thanks for the pointer.
2 Nov 2012 6:58 AM #4
TabPanel doesn't save activeItem - you need to manually do this either in beforestatesave and staterestore or overriding saveState and applyState methods (http://docs.sencha.com/ext-js/4-1/#!...state.Stateful).