1. #1
    Sencha User
    Join Date
    Jul 2009
    Posts
    88
    Vote Rating
    1
    Ash2009 is on a distinguished road

      0  

    Default How to show/hide fieldLabel dynamically ?

    How to show/hide fieldLabel dynamically ?


    hi,

    I am showing/hiding a textfield on the basis of a combo box selection.The issue is i can very easily show/hide the textfield by doing
    Ext.getCmp(mytextf).show();
    but i am not able to do the same for the fieldLabel, and only the textfield appears on the UI without any labels.
    What function can i use to show and hide the fieldLabel ?
    Has anyone done this before ?
    please help with some code

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    92
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Use this patch to hide the field label when a field is hidden.

  3. #3
    Sencha User
    Join Date
    Jul 2009
    Posts
    88
    Vote Rating
    1
    Ash2009 is on a distinguished road

      0  

    Default


    Thanks that worked !!

Thread Participants: 1