-1

i have some interesting question about ExtJS framework.

for example, window object in extJS have config option: 'onESC' (some events, when esc key down), and another properties.

I need dynamically loading this property changing (change it on my server and put there).

i need some method, for example, "set" or analog for overloading onESC and all properties of my window object.

--

var window1 = Ext.create("Ext.Window", {.... some config here ....});

window1.show();

--

so, how change all properties of this object after construction??

has anyone any solution?

PeeHaa
  • 71,436
  • 58
  • 190
  • 262
George
  • 3
  • 3

1 Answers1

0

Your mixing a lot of terms its hard to understand all of what your asking "change it on my server and put there" for example

The properties you mention are detailed in the methods list of Window. If you want to alter a listener, drop one, add one, etc. Altering / destroying the "all the properties" and not recreating the window isn't easy, depending on how much altering you want to do without actually changing the window.

hpavc
  • 1,336
  • 7
  • 7
  • Thanks... Can you explain me, how alter, drop "listeners" window in the program code? What methods i must use... I think i want to see example with layout property (that's more actually) – George Jun 19 '11 at 14:49