1. #1
    Sencha Premium Member
    Join Date
    Oct 2012
    Posts
    24
    Answers
    1
    Vote Rating
    2
    nirvdrum is on a distinguished road

      0  

    Default Unanswered: Save active tab in storage provider?

    Unanswered: Save active tab in storage provider?


    Hi,

    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.

    Thanks,
    Kevin

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,347
    Answers
    3542
    Vote Rating
    846
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Have you used the stateEvents?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.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.

  3. #3
    Sencha Premium Member
    Join Date
    Oct 2012
    Posts
    24
    Answers
    1
    Vote Rating
    2
    nirvdrum is on a distinguished road

      0  

    Default


    Nope. I guess I have some more reading to do. Thanks for the pointer.

  4. #4
    Sencha User
    Join Date
    Sep 2011
    Posts
    573
    Answers
    58
    Vote Rating
    71
    ettavolt is just really nice ettavolt is just really nice ettavolt is just really nice ettavolt is just really nice

      0  

    Default


    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).

Thread Participants: 2