View Full Version : Panel render event - content from html config property not present

29 Nov 2007, 12:41 PM
I'd like to use the render event of a panel to set up some events on the elements created via the html config property of the panel. But, the body of the panel isn't updated with the html until Panel.afterRender is called. (at least in 2.0b1)

Is there another event I can use that will tell me when the html content has been loaded into the panel's body element?

29 Nov 2007, 1:42 PM
I don't see a way to do it currently. It would seem that having the Component.afterRender fn fire another event would be a candidate for an enhancement request. In the interim, you could override Component, add a new event to its events object and then fire that from its currently empty afterRender fn.