View Full Version : getting rid of panel's html

4 Aug 2009, 8:08 AM
I have a panel that has some simple HTML in the html field. When I call the removeAll() function this doesn't remove the html. Sure it'll remove the Ext components but how do I get rid of the html aswell? Looked through the API and didn't see anything.

4 Aug 2009, 8:15 AM
You might need to clean it up yourself on 'destroy' event. Or if your panel is a user extention, then override the onDestroy method.