View Full Version : How to get Extjs 4 Portals Resize event only when changing the height

10 May 2012, 11:40 PM
I am using Extjs 4's portal in my application.

In my code i have used resize event. But it gets call on every portlet changes. i.e.

'resize' :Ext.bind(this.onPortletResize, this)

1] On Minimize
2] On load [page load , i.e. when loading the page for the first time]
3] On height changes.

So I want to restrict this resize event. i.e. it should get called only when I am changes the height of the portlet.

Can you please suggest me How can differentiate between events so that when the required event gets called, I will execute my code.