LostCode
LostCode

Reputation: 533

Extjs's Window, Can't Show Again

I'm studying with Extjs4.

I made Ext.window.Window, and use show() Method. After I closed the Window, and Again use show() Method, it doesn't appear.

What can I do to resolve this problem?

Upvotes: 4

Views: 2073

Answers (1)

Molecular Man
Molecular Man

Reputation: 22386

Window by default is set up to be destroyed on close. To change this behavior set closeAction to 'hide':

Ext.create('Ext.window.Window', {
  closeAction: 'hide',
  // ...

Upvotes: 6

Related Questions