webfriend13
1 Apr 2012, 10:24 PM
Hi all,
I want to know what is the best way to destroy a control in ExtJs 4.07. The idea is to remove the control from the page to ensure it is garbage collected to prevent memory leakage.
I am specifically looking to destroy a EXTJS grid. I am aware of destroy method, but I think in my case even after calling destory the elemets within the grid is not been garbage collected. Do i need to perform some more steps.
Please provide your suggestions.
Thanks in advance
I want to know what is the best way to destroy a control in ExtJs 4.07. The idea is to remove the control from the page to ensure it is garbage collected to prevent memory leakage.
I am specifically looking to destroy a EXTJS grid. I am aware of destroy method, but I think in my case even after calling destory the elemets within the grid is not been garbage collected. Do i need to perform some more steps.
Please provide your suggestions.
Thanks in advance