Results 1 to 3 of 3

Thread: (newbie) Can I use Navigation view with tabpanel?

  1. #1

    Default (newbie) Can I use Navigation view with tabpanel?

    I'd like to create a tabpanel layout app that has navigation views behind it to drive the screen flow behind the tabs. Can this be done?

    thx

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,449

    Default

    So a tab in a tab panel would be a navigation view? Of course that is possible.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

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

  3. #3
    Sencha Premium Member
    Join Date
    Apr 2012
    Posts
    20

    Default

    Yes. I just did something like this. My main view is a tabpanel, but the view contained within it, is loaded first, is a navigationview. In the example below, the xtype 'orderspanel' is a navigation view with a list.
    Code:
    Ext.define("myApp.view.Main", {
      extend: 'Ext.tab.Panel',
      xtype:'mainpanel',
      config: {
            tabBarPosition:'bottom',
            items: [
          {
              xtype: 'orderspanel'      
          }
        ]
      }
    });

Tags for this Thread

Posting Permissions

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