I’ve added a NavigationView and within it added List. Now on list itemtap setting panel title like as:
var view = Ext.getCmp(‘MyPanel’);
if(!view)
view = Ext.create('MyApp.view.'+record.data.ScreenId,{title: ‘Tension’});
view.setTitle(‘Tension’); // problem
navigationView.push(view);
But it does not working so let me know what is correct way to perform this task.
Any help is appreciated!!
setTitle
method: docs.sencha.com/touch/2.2.1/#!/api/Ext.Panel – sha