Results 1 to 2 of 2

Thread: Ext.window.Window hidden:false does not work

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    Virginia, USA
    Posts
    504

    Exclamation Ext.window.Window hidden:false does not work

    Execute this in firebug...

    Code:
    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

    Code:
    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.

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,450

    Default

    A window will not show until you tell it to. There are two ways to show the window right away:

    Code:
    Ext.create('Ext.window.Window', {
        autoShow : true,
        // ...
    });
    Code:
    Ext.create('Ext.window.Window', {
        // ...
    }).show();
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •