Results 1 to 3 of 3

Thread: Window hide and reopen error

  1. #1
    Sencha User
    Join Date
    Feb 2010
    Posts
    38
    Vote Rating
    0
      0  

    Default Window hide and reopen error

    Hi, I'm having some issues with closing/hiding a window and then opening it again. I keep getting a error about style of undefined.

    My window code looks like thos

    Code:
    var groupwindow = new Ext.Window({  title: 'Groups',
      width: 600,
      height: 500,
      closable: true,
      closeAction: 'hide',
      modal: true,
      layout: 'fit',
      items: [groupform]
    });
    when I call groupwindow.close() it closes fine but when I want to open it again with groupwindow.show() I get the js error, any reason why this would happen?

  2. #2
    Sencha User
    Join Date
    May 2011
    Posts
    70
    Vote Rating
    0
      0  

    Default .hide()

    Check the .hide() method. The link below includes the documentation where you can also see the methods/events etc available on the objects.

    http://docs.sencha.com/ext-js/4-0/#/...ow-method-hide

  3. #3
    Sencha User
    Join Date
    Feb 2010
    Posts
    38
    Vote Rating
    0
      0  

    Default

    I could have sworn I tried that aswell, but thanks, seems to have done the trick.

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
  •