Results 1 to 6 of 6

Thread: How to truly hide Textfield?

  1. #1

    Question How to truly hide Textfield?

    Sorry for my English.
    I got a textfield, then i set hidden='true' and hideLable='true', this textfield disappear.
    But it still keep a blank position.
    What i want to know is how can i make this textfield truely hide?(as it never exist there)

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

    Code:
    Ext.layout.FormLayout.prototype.trackLabels = true;

  3. #3

    Default

    Thanks your reply Condor, but after i set trackLablels to true, the hidden textfield still keep a blank space......
    Like this:
    before hidden: -----> Textfield1 Textfiled2 Textfield3;
    after hide Textfiled 2 -----> Textfield1_______Textfield3;
    what i need is -------> Textfield1 Textfield3;

  4. #4
    Sencha User walldorff's Avatar
    Join Date
    Mar 2008
    Location
    Antwerp, Belgium
    Posts
    165

    Default

    Maybe you could assign a css class to TextField2, in which you hide it.
    ExtJS 3.4, WAMP Apache 2.2.17, PHP 5.3.5, MySQL 5.5.8

  5. #5
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

    Which layout are you using to position these 3 textfields?

  6. #6

    Default

    tableform, Condor

Similar Threads

  1. TextField.hide() doesn't hide the label
    By blixa in forum Ext 1.x: Help & Discussion
    Replies: 15
    Last Post: 13 Jan 2010, 7:14 AM
  2. Hide Textfield and Label???
    By undertoe in forum Ext 2.x: Help & Discussion
    Replies: 10
    Last Post: 21 Oct 2008, 11:50 PM
  3. How to hide a textfield
    By sebarbraz in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 5 Sep 2008, 1:19 AM
  4. hide/unhide textField
    By hga77 in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 31 Oct 2007, 8:47 AM
  5. How to hide Label in textField ?
    By alaindeseine in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 13 Jun 2007, 7:48 AM

Tags for this Thread

Posting Permissions

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