1. #1
    Ext User
    Join Date
    Jul 2008
    Posts
    202
    Vote Rating
    0
    eugenparaschiv is on a distinguished road

      0  

    Question setting the text in a TextField without rendering the field first

    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?

  2. #2
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    2
    gslender is on a distinguished road

      0  

    Default


    setValue("value") should do what you want... have you tried that?

  3. #3
    Ext User
    Join Date
    Jul 2008
    Posts
    202
    Vote Rating
    0
    eugenparaschiv is on a distinguished road

      0  

    Cool I hadn't...

    I hadn't...


    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.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar