PDA

View Full Version : (newbie) Can I use Navigation view with tabpanel?



spotteddogsoftware
12 Apr 2012, 11:16 AM
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

mitchellsimoens
12 Apr 2012, 11:37 AM
So a tab in a tab panel would be a navigation view? Of course that is possible.

cks
23 Apr 2012, 2:31 PM
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.


Ext.define("myApp.view.Main", {
extend: 'Ext.tab.Panel',
xtype:'mainpanel',
config: {
tabBarPosition:'bottom',
items: [
{
xtype: 'orderspanel'
}
]
}
});