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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T21:21:57+00:00 2026-05-29T21:21:57+00:00

Given a simple Ext.List like the one in the Sencha docs, how can I

  • 0

Given a simple Ext.List like the one in the Sencha docs, how can I make a new Panel or Carousel get “pushed” onto the screen when I click on one of the names?

http://docs.sencha.com/touch/2-0/#!/guide/list

I’d like to be able to have a button to navigate back to the main screen too.

  • 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-29T21:22:01+00:00Added an answer on May 29, 2026 at 9:22 pm

    You can achieve this using Ext.navigation.View. Here is a very simple application demonstrating this:

    Ext.setup({
        // onReady is when we can start building our application
        onReady: function() {
            // Create the view by just adding a config block into Ext.Viewport.
            // We give it a reference of `view` so we can use it later
            var view = Ext.Viewport.add({
                // Give it an xtype of `navigationview` so it knows to create a NavigaitonView
                xtype: 'navigationview',
    
                // Define the list as its only item
                items: [
                    {
                        xtype: 'list',
    
                        // Give it a title so the navigation view will show it
                        title: 'List',
    
                        // `itemTpl` is the template for each item in the list. We are going to create a store
                        // with a bunch of records, which each have a field called `name`, so we use that in our
                        // template
                        itemTpl: '{name}',
    
                        // Define our store
                        store: {
                            // Define the fields that our store will have
                            fields: ['name'],
    
                            // And give it some data for each record.
                            data: [
                                { name: 'one' },
                                { name: 'two' },
                                { name: 'three' }
                            ]
                        },
    
                        // Now we add a listener for the `itemtap` event, which is fired when a user taps on an item
                        // in this list. This event is passed various arguments in the signature, but we only need the
                        // record
                        listeners: {
                            itemtap: function(list, index, target, record) {
                                // now we have the record from the store, which was tapped. we now want to push a new view into
                                // the navigaitonview
                                view.push({
                                    // Give it an xtype of panel
                                    xtype: 'panel',
    
                                    // Set the title to the name field of the record
                                    title: record.get('name'),
    
                                    // And add some random html
                                    html: 'This is my pushed view!'
                                })
                            }
                        }
                    }
                ]
            });
        }
    });
    

    I’ve added inline comments so you know what is going on.

    I also suggest you to ask questions over on the Sencha Forums as you will probably receive a much quicker response.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Given a simple namespaced route map.namespace :api do |api| api.resources :genres end how can
Given a simple C# class definition like: [System.Windows.Markup.ContentProperty(PropertyOne)] public class SimpleBase { public string
Given a simple data set, I would like to be able to calculate a
Given this simple class: class HasBytes { public byte[] Bytes { get; set; }
Given a simple Java class like this: class MyData { public int a; public
Given the following simple code, how can I pass a state object along so
Given a simple POJO does it really make a difference or are there possible
Given some simple XHTML, I'd like to create a human readable plain text version
Given a simple zero based, numerically indexed array: var list = ['Foo', 'Bar', 'Baz'];
Given a simple grammar, like rule1 := token1 token2 token3 token4 || token1 token2

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.