Aug 22, 2011, 8:15 PM
[CLOSED] How to clean up dynamically created controls?
We have a complex page that creates alot of windows and form controls dynamically on button clicks. The windows are created, displayed, and then closed. How can I make sure ExtJS is cleaning up the DOM and memory correctly? I see that the more windows I create, the more memory IE uses. When I look in WindowManager, those windows are not there. I want to make sure the windows' items are also cleaned up correctly.
More importantly, is creating windows and form controls on the fly a good design pattern to follow?
More importantly, is creating windows and form controls on the fly a good design pattern to follow?
Last edited by Daniil; Sep 14, 2011 at 7:12 PM.
Reason: [CLOSED]