setting the text in a TextField without rendering the field first
Is there any way to set the text in a TextField without first rendering the field? I want to set some text on a bunch of text field which are not yet rendered, and then render them all at once, with a single call to layout(); the problem is that the method setRawText checks if the text field is rendered, and if it is not, it returns without doing anything. This makes it pretty much unusable for what I want to do.
My temporary solution is quite inelegant: I call layout after I set the text in a field, and I do this for each text field in turn; this gives a kind of cascading effect (which is understandable).
Is there any solution to this?
Ext GWT Premium Member
setValue("value") should do what you want... have you tried that?
I hadn't tried that, no.
I hope the other question I posted here also have such easy answers
Tank you for your help. Eugen.