Results 1 to 3 of 3

Thread: Disable collapse/expand buttons in FieldSet

  1. #1
    Sencha User
    Join Date
    Jan 2008
    Posts
    154
    Vote Rating
    0
      0  

    Default Disable collapse/expand buttons in FieldSet

    I would like to be able to remove the display of the expand/collapse buttons in the FieldSet but have not figured out from the existing forums how to do this. I am able to hide the borders as specified below but not either hide or remove the expand/collapse buttons. I see these defined in .x-tool but not sure how to access this to change them. I only want to do this in this one case of the fieldset. I will be adding/removing widgets to the fieldset so I do want the capability of expanding/collapsing the fieldset on my own events.

    Code:
        final private FieldSet fieldSet_ = new FieldSet();
        fieldSet_.setCollapsible(true);
        fieldSet_.collapse();
        fieldSet_.setStyleAttribute("border", "none");
    Thanks.

  2. #2
    Sencha Premium User
    Join Date
    Nov 2008
    Location
    Vienna - Austria
    Posts
    886
    Vote Rating
    1
      0  

    Default

    Have you tried fieldSet.setCollapsible (false) ?

  3. #3
    Sencha User
    Join Date
    Apr 2016
    Posts
    40
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by micgala View Post
    Have you tried fieldSet.setCollapsible (false) ?
    setCollapsble is not a thing and does not work.

Similar Threads

  1. FieldSet collapse and expand via other component listeners
    By KirthiRaman5 in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 16 Sep 2010, 4:45 AM
  2. is it possible to add Buttons next to the expand/collapse icon in an accordian panel?
    By jhudson888 in forum Ext GWT: Help & Discussion (1.x)
    Replies: 5
    Last Post: 8 May 2009, 9:01 AM
  3. how to change panels' collapse/expand toggle buttons
    By hamdy in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 28 Mar 2009, 12:27 AM
  4. FieldSet(not possible to expand or collapse) problem in IE
    By hsmukunda in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 25 May 2008, 11:23 PM

Posting Permissions

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