PDA

View Full Version : How to redraw a panel with new contents



sarabjeetd
27 Mar 2012, 11:33 AM
I have a panel with border layout and 2 children: one is xtype 'chart' and another is of xtype 'panel'.
Once the panel has been rendered on the screen, how do I re-draw the panel?
I called removeAll() on the panel to remove the child components which worked fine.
Callling initComponent on the panel again does not seem to be working.

-Sarab:-/

mitchellsimoens
27 Mar 2012, 12:28 PM
What version of Ext JS 4 are you using?

sarabjeetd
27 Mar 2012, 12:33 PM
I am using ExtJS 4.1.0 Beta 2a.