PDA

View Full Version : Problems with the event model of extjs?



pinidbest
9 Jun 2012, 10:24 PM
Hi all, I have the following problem:
A inner panel listen to a resize event by:


listeners: { resize: function () { var widgetsWidth = this.getWidth(true); var widgetsHeight = this.getHeight(true); this.onResize(widgetsWidth, widgetsHeight); } },
And a another panel that contains it.
Once I am adding a listener block to the container pannel(The outher one)For listening to some other event and not the resizeThe inner resize code is not working. Any ideas?

scottmartin
11 Jun 2012, 7:14 AM
Please edit your post and update your code snippet be properly formatted.

Scott.