we can simply use following line to navigate from one panel to another..
Ext.Viewport.setActiveItem({ xtype: "cat" });
ORExt.Viewport.animateActiveItem({ xtype: "cat" }, { type: "slide", direction: "up" });
here, xtype is that we can define for the panel we want to display, like this…,
Ext.define('BeLocal.view.LeftCurveList', { extend: 'Ext.Panel', **xtype: 'cat',** config: { items: [{ xtype: 'toolbar', docked: 'top', width: '100%', padding:0, title: 'BeLocal Places', items:[{ xtype: 'button', ui: 'back', text: 'Back', }] }] } });
—————————————————-
Posted By :
Manish Kumar Choithani
Senior /Lead Architect
Reference Email Ids:
[email protected]
[email protected]
[email protected]
[email protected]
Ext.Viewport.setActiveItem({ xtype: "cat" });
ORExt.Viewport.animateActiveItem({ xtype: "cat" }, { type: "slide", direction: "up" });
here, xtype is that we can define for the panel we want to display, like this…,
Ext.define('BeLocal.view.LeftCurveList', { extend: 'Ext.Panel', **xtype: 'cat',** config: { items: [{ xtype: 'toolbar', docked: 'top', width: '100%', padding:0, title: 'BeLocal Places', items:[{ xtype: 'button', ui: 'back', text: 'Back', }] }] } });
—————————————————-
Posted By :
Manish Kumar Choithani
Senior /Lead Architect
Reference Email Ids:
[email protected]
[email protected]
[email protected]
[email protected]