I had make a controller in sencha touch 2 in which i am performing an ajax request.
I want to change the view on suceess.
Currently i am using
var firststep = Ext.create('Myapp.view.Rangeselector'); Ext.getCmp('loginForm').destroy();
It is destroying loginForm but didn't load Rangeselector view.
Can anyone please give me a solution.