PDA

View Full Version : Extjs component completion event



abhinavchugh
24 Apr 2012, 11:31 PM
Hi

Is there any extjs component completion event that we can use.

When i say "extjs component completion" it means the component gets completely added in html DOM.

For example I am making a panel


var panel = new Ext.Panel({
items: [{
xtype: "panel",
html: new Ext.XTemplate("<div id ='testMe1'></div>").apply({})
}],
title: 'Panel',
renderTo: "test", // html div
layout: 'fit'
});

i need the event when the Ext panel gets added completly in to the HTML so that i can add some more components in the Panel.

mitchellsimoens
30 Apr 2012, 12:21 PM
What Ext JS version are you using?

abhinavchugh
30 Apr 2012, 9:49 PM
I am using Ext JS version 4

mitchellsimoens
1 May 2012, 5:11 AM
Moved

abhinavchugh
2 May 2012, 9:25 PM
Thanks for your reply..Can you please elaborate what exactly it means...

"Moved" is it the name of some event..?:) . I am using Ext Js 4.1

vietits
2 May 2012, 10:43 PM
You can listen to 'render' event of component.