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 6566891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:16:14+00:00 2026-05-25T14:16:14+00:00

I am using tabpanel with card layout. When i open the tab for the

  • 0

I am using tabpanel with card layout. When i open the tab for the first time everything works fine. but when i close (hide) the tab and then reopen it then i can no longer navigate between cards

// Hide tab
tab.hide();
tabpanel.hideTabStripItem(tab);

// Reopen tab
tabpanel.unhideTabStripItem('mytab');
tabpanel.setActiveTab('mytab');

// Panel = objPanel
{
    xtype: 'panel',
    layout: 'card',
    layoutConfig: {
        deferredRender: true
    },
    activeItem: 0,
    border: false,
    plain: true,
    items: [
        ...
    ]
}

// Switching between cards
objPanel.getLayout().setActiveItem(0);   // or 1

The thing is objPanel.getLayout() gives “card” (string) after reopening the tab instead of an object.

Can anyone suggest any solution for this? Thanks for any help.

  • 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-25T14:16:15+00:00Added an answer on May 25, 2026 at 2:16 pm

    I am not sure what causes this problem but when i changed dataview to gridpanel, everything is working fine.

    Following is how my layout was – when i wasn’t able to reopen a tab:

    form panel
        displayfield
        panel with card layout
            dataview 1 - card 0
            dataview 2 - card 1
    

    New layout – where i am able to reopen the tab:

    form panel
        displayfield
        panel with card layout
            grid - card 0
            dataview 2 - card 1
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the TabContainer/TabPanel components of the Ajax Control Toolkit. I'd like to hide
I am using a <rich:tabpanel> with 3 tabs. In the 2nd tab I have
I'm using ExtJS 3.2 and have content inside of a tab panel, and the
I was trying to render a simple piechart using ExtJs 3.0 but could not.
Problem is simple the tab control shows in design mode but is not getting
I have encountered a slightly bizarre bug while using the ajax control toolkit TabPanel.
I have the following code: <rich:tabPanel switchType=client> <rich:tab name=tab1 label=tab1 onclick=alert('Hello');> ... </rich:tab> <rich:tab
Using Xcode4.2.1, with a basic PhoneGap template based app. (I say template, but I
I using Richfaces 3.3 and Jsf 2. I have a tab panel with a
I am using this plugin: TabSlideOut jquery Plugin to slide make a tab slide

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.