PDA

View Full Version : initialize event not found



anaP
14 Oct 2012, 11:10 PM
Hi,
When I used Sencha touch I used initialize event on view container.
Now I want to use same code in my Ext JS application but it does not have initialize event on container. Which other event should I use instead of initialize?

sword-it
15 Oct 2012, 12:00 AM
You can use "afterrender " event of view component, the afterrender event is fired after the component has been rendered.
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.container.Viewport-event-afterrender