0
votes

I have a list and each item links to a different page when clicked on using push(). I am pushing them fine but when they do, they don't have the default titlebar or back button that should come with a page pushed on top of the current one. Any ideas? Here is my code:

View being pushed:

Ext.define('myApp.view.Appearances', {

extend: 'Ext.Panel',
xtype: 'Appearances',

config: {
    title: '<span class="logo"></span>',
    scrollable: 'vertical',
    tpl: [
        '<h1>Appearances</h1>'
    ]
}

});

Controller:

this.getMain().push({
            xtype: 'Appearances'
        }); 
1

1 Answers

0
votes