PDA

View Full Version : Not able to add window to viewport region



pavancreative81
26 Jan 2012, 11:28 AM
I created my own window class with xtype 'loginwindow' and constrain:true option.
I also have east region in viewport with id 'eastreg'. Now i m trying to add window to east region
but not able to see the window in east region of viewport. help appreciated.

contents of app.js
launch: function() {
var win = Ext.widget('loginwindow');
win.render(Ext.getCmp('eastreg').body);
win.show();
}