PDA

View Full Version : [CLOSED] Ext.window.Window hidden:false does not work



vtswingkid
31 May 2014, 8:04 AM
Execute this in firebug...


Ext.create('Ext.window.Window', {title:'AutoShow', hidden: false, modal: true, html:'This is an autoshowing window.'});

I would expect the window to show. It does not show for Ext 4.2 either.

It does show for Ext 3.4


new Ext.Window({title:'AutoShow', hidden: false, modal: true, html:'This is an autoshowing window.'});

I think this was mentioned in another post and I agree, I believe this default should be false.

mitchellsimoens
2 Jun 2014, 4:20 AM
A window will not show until you tell it to. There are two ways to show the window right away:


Ext.create('Ext.window.Window', {
autoShow : true,
// ...
});


Ext.create('Ext.window.Window', {
// ...
}).show();