PDA

View Full Version : Can Ext fire event when component is created?



finderetf
1 Oct 2013, 4:34 AM
Hi everyone!!!

I'm wondering if Extjs can fire event when some component is created. For example Can I write somehow to certain function be called if window with ID="test_window" is crated or rendered. I know for afterrender etc....

Thanks!!!

evant
1 Oct 2013, 4:38 AM
See: http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.ComponentManager-method-onAvailable

finderetf
1 Oct 2013, 4:47 AM
Thanks, that is what I was looking for.
Thanks again!!!!

finderetf
1 Oct 2013, 5:13 AM
It takes some time to figure out how I can change thread from Unanswered to Answered, maybe you should have button for that.

Thanks!!!