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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T12:42:04+00:00 2026-05-31T12:42:04+00:00

I am new to sencha , and I am using sencha 2 mvc.I am

  • 0

I am new to sencha , and I am using sencha 2 mvc.I am having a Tabpanel and the first tab contains a list.When clicking on the button in the list i want to load/switch view of its details with a form..I am unable to find the answer.Please help me asap..

{
    xtype: 'tabpanel',
    baseCls:'tabheader',
    cls:'tab_container',
    scrollable:true,
    tabBarPosition: 'top',
    flex:1,
    items: [
        {
            xtype:'container',
            title:'Sample',
            id:'Sample',
            layout:'card',
            cardSwitchAnimation: 'slide',
            tabBarPosition: 'top',
            items:[
                {
                    title: 'Sample',
                    xtype: 'list',
                    flex:1,
                    store: 'SampleWithoutAgentOffers',
                    itemTpl: '{name}' ,
                    onItemDisclosure: function(record, btn, index) {
                        Ext.Viewport.setActiveItem(1);
                    }
                }                    
            ]
        },
        {
            xtype:'panel',
            html:'hiiii'
        }
    ]
}

On itemdisclosure i want to load view..Please help me..

  • 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-31T12:42:05+00:00Added an answer on May 31, 2026 at 12:42 pm

    Please see my edits to your original question, I’m not sure if that configuration you posted would even run in JavaScript.

    I fixed your configuration object so it should technically work. However, I don’t have visibility into your Viewport object. If what you are trying to do onItemDisclosure is show the panel with html of ‘hiii’, then you should be doing:

    onItemDisclosure: function(record, btn, index) {
        this.parent.setActiveItem(1);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to sencha touch. I am beginning with MVC pattern. I want
When using the [relatively new] MVC bits in Sencha Touch I find that 90%
I am new to sencha touch mvc framework and i am using version1.1.1 on
I'm new to sencha touch. I have a list-search example. Now I want to
I'm using sencha touch and having problems with sorting a Ext.list by number via
I'm new to Sencha Touch (and MVC mostly for that matter), we have a
I am new to sencha touch. I have a datastore and i want to
I'm new to Sencha Touch 2. I want to create a basic example, which
I am very new to Sencha Touch framework, want to start with Sencha Touch
I'm new to HTML5 and using sencha touch. Please anyone give me a full

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.