Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7604457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T23:54:52+00:00 2026-05-30T23:54:52+00:00

I have a tabpanel with items of nestedlists. Each nested list goes several levels

  • 0

I have a tabpanel with items of nestedlists. Each nested list goes several levels deep. If I drill down one of the nested list, then i click on a different item in the tabpanel, then click back to it, the nested list is still drilled down, instead of refreshing to the top level of the nested list.

How do I get the nestedlist to display the top level instead of the drilled down level everytime I return to it?

Additional Info
OK, I’m part way there. Here’s the code I have now:

     var tabBar = new Ext.TabPanel({
        fullscreen: true,
        id : 'footer',
        cardSwitchAnimation:false,

          listeners: {

                  cardswitch: {
                           fn: function() { 
                                  Ext.getCmp('footer').getActiveItem().setActiveItem(0);
                             }
                        }
          },

        tabBar: {
           dock: 'bottom'
        },
        items: [/* some nestedlist components */]
     });

So the final problem is that everytime I cardswitch, I see the “drillup/slideback” animation of the nested list sliding back or drilling back to the top level item. How do I get it to just show the top level item without this drill up/slide back animation? I want to preserve the slide forward and drill down animation when the user drills down the nestedlist.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T23:54:54+00:00Added an answer on May 30, 2026 at 11:54 pm

    You can try to set the cardSwitchAnimation parameter to false in the setActiveItem method

    [UPDATE] Deselect item

    Add an event listener for the item tap event on the nested list

    nestedList.on("itemtap", function(nestedlist, index, item, e){setTimeout(function(){nestedlist(index);},500);}, this);
    

    [UPDATE] From John

    For some reason your code didn’t do anything for me. But this one worked:

    var nestedList = new Ext.NestedList({
          store: store,
          listeners: {
            itemtap: function(dv, ix, item, e) {
                // Clear the selection soon
                setTimeout(function(){dv.deselect(ix);},500);
            }
        }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's consider following, simplified example: We have 2 tabs withing <rich:tabPanel switchType=ajax> , each
I have Ajax TabPanel with Tab Employee List Add Employee Edit Employee On Employee
i use the MVP-Pattern in GWT. I have developed a GWT-TabPanel. Each Tab has
EDIT I have a viewport that extends a TabPanel. In it, I set one
I have a Viewport and in Center region I have a tabpanel.Each tabpanel contain
I have created a FormPanel with a TabPanel with several tabs. The background color
I have a jquery tab on my page, where each list item contains a
I have TabPanel which contains, among other things, a Grid connected to a Store.
I have a tabpanel with a calendar control on the 4th tab but when
I have the following code, which generates a basic layout for my app: tabpanel

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.