1. #1
    Ext User
    Join Date
    Apr 2008
    Posts
    376
    Vote Rating
    0
    zaccret is on a distinguished road

      0  

    Default [DUPLICATE] How to set field label when the form panel is already rendered

    [DUPLICATE] How to set field label when the form panel is already rendered


    Hi,

    Does anyone know how I could change a field label when the form panel is already rendered ? setFieldLabel(String) has no effect.

  2. #2

  3. #3
    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


    ...as Darrell explained, there really is not currently a simple way to do this

    Why? if you look at the source of FormLayout you will see that the field label is created as part of the template and constructed with the label embeded - look at line 123 the label is item {1} whereby it is inserted into the string at runtime when the form is created.

    Darrell would need to refactor the label field to be a distinguishable element in the DOM - its currently not...

    sorry...

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