Ext.define('Sample.view.MainMenu', {
extend: 'Ext.tab.Panel',
config: {
tabBar: {
docked: 'bottom'
},
items: [{
xtype: 'mypanel',
}, {
xtype: 'mycartlist'
}, {
xtype: 'cartitemscheck',
} ]
}
});
Above is my first view that has tab panel docked bottom that displays mypanel view by default and mypanel view is the navigation view .. here I am having a problem .. if I navigate from my panel view to other views in the card layout and click on the tab icon mycartlist, and when I click back on the mypanel icon .. it is showing the page view that is navigated last.. but I want the mypanel first view to be displayed whenever the mypanel icon is clicked. please tell me how this works.