I have an application where I have a nice big grid of fields.
I'd like to edit those fields.
I've got to the point where I can move around the fields using the cursor keys and start editing by typing.
When the user first starts typing I'm creating a TextField and inserting it in the appropriate spot.
Now comes the tricky part, when the user is done editing (they have hit enter) I want to remove the TextField from the DOM. I could call destroy, but I'd much rather reuse the TextField next time, rather than recreate it from scratch.
I can't see an easy way to do this, I can get naughty and call remove on the fields underlying Element and it will be removed from the DOM. Then I need to start mantaining the rendered flag, then the event handlers get themselves in a not. Basically it starts to feel hard, which is not what I've been told Ext is about.
Am I missing something? Does Ext consider reuse of FormFields or am I coding in a throw away world?
So add it once to a div or something and then just shuffle the div about? I'm not a huge fan of having a bunch of stuff in my DOM on the off chance I might need it some day, but it will most likely work... I'll have a play.
Animal - You don't need to leave something in the DOM to reuse it. I usually create my objects, add them to the DOM when I'm using them, then pull them out and leave them sitting in memory, waiting to be re-inserted.
Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."