Results 1 to 3 of 3

Thread: How to show/hide fieldLabel dynamically ?

  1. #1
    Sencha User
    Join Date
    Jul 2009
    Posts
    88
    Vote Rating
    1
      0  

    Default 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
    118
      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
      0  

    Default

    Thanks that worked !!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •