View Full Version : Disable collapse/expand buttons in FieldSet

22 Mar 2011, 9:20 AM
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.

final private FieldSet fieldSet_ = new FieldSet();
fieldSet_.setStyleAttribute("border", "none");


23 Mar 2011, 12:59 AM
Have you tried fieldSet.setCollapsible (false) ?

5 Dec 2017, 6:33 AM
Have you tried fieldSet.setCollapsible (false) ?

setCollapsble is not a thing and does not work.