Results 1 to 3 of 3

Thread: Pop the navigationView to root on tab changed

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    18
    Answers
    3
    Vote Rating
    0
      0  

    Default Answered: Pop the navigationView to root on tab changed

    I have 5 tabs(in my barpanel), and inside some of this tabs I have a navigation view.I would like that when I selected a tab, automatically the navigation view is on the root windows.Someone has a clue ?

  2. On activate event you can use reset() on the navigation view.

  3. #2
    Sencha - Community Support Team mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,025
    Answers
    3976
    Vote Rating
    1334
      0  

    Default

    On activate event you can use reset() on the navigation view.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  4. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    18
    Answers
    3
    Vote Rating
    0
      0  

    Default

    Yes it works well Thanks so much, I was looking way to far haha

    here the working code

    Code:
    listeners:{
            activate: {
                fn: function() {
                    this.reset();
                },
                element: 'element'
            }
        }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •