PDA

View Full Version : Rendering HTML inside of a ExtJS container



mvbaffa
11 Mar 2011, 12:09 PM
Hi,

How can I add a Html DIV content as a child of a Panel.

The DIV and its content were already loaded, by an AJAX Call, and I want to add it as a child of a Container.

Thanks in advance

mvbaffa
11 Mar 2011, 12:24 PM
Hi,

Does this work Ext.getCmp('myPanel').add(getDom('divName')) ???

mitchellsimoens
11 Mar 2011, 6:09 PM
You should use the update function on the container and pass your HTML

mvbaffa
11 Mar 2011, 6:53 PM
Thanks,

I will check it out.