Hi,

I am beginner in sencha and working with NavigationView control. I have two views viewOne.js and viewTwo.js. I want to navigate from viewOne.js to viewTwo.js. How can I do this? I am using below code:

var view = Ext.create('Ext.NavigationView', {
fullscreen: true,
items: [{
title: 'First',
items: [{
xtype: 'button',
text: 'Push a new view!',
handler: function () {
// use the push() method to push another view. It works much like
// add() or setActiveItem(). it accepts a view instance, or you can give it
// a view config.
view.push('viewTwo');
}
}]
}]
});