-
21 Jan 2013 9:38 AM #1
Answered: Select field increasing DOM
Answered: Select field increasing DOM
Hi all,
I have a panel that contain several select field when I load the panel I have 400 elements at my DOM, when I start to click at the fields, even if I dont select any option, my DOM start to increase at each click When I finish to click at all the fields I have 1000 elements on my DOM. I want to know if it is possible to destroy these overlays that is being created.
-
Best Answer Posted by mitchellsimoens
Could have been a bug, I'm seeing it destroy the picker using 2.1.0
-
23 Jan 2013 7:16 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
- Answers
- 3113
When the field is destroyed it should destroy the picker.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
23 Jan 2013 7:32 AM #3
It should destroy, but it isnt destroying I'm using panelWithFields.destroy( ) to eliminate the panel, but I still can see the overlays at my DOM. Any sugestion? I'm using sencha touch 2.0
-
23 Jan 2013 7:40 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
- Answers
- 3113
Could have been a bug, I'm seeing it destroy the picker using 2.1.0
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
23 Jan 2013 8:04 AM #5
Probably, I just tried to destroy each innerItem and after destroy the panel, that worked for me.


Reply With Quote