11 Feb 2011 12:05 PM #1
Dynamically change the config option (collapsible) for a FormPanel
Can i dynamically change the config option (collapsible) for a FormPanel ? Based on an Event, I would like to set the 'collapsible' property to true/false. I do not see a public method defined for FormPanel for this setting.
12 Feb 2011 1:03 AM #2
- Join Date
- Mar 2007
- The Netherlands
- Vote Rating
You can change it, but it won't affect the titleCollapse or toggle tool.
1. You would have to do an inline override of the toggleCollapse method to check if collapsible is true before continuing.
2. You would have to manually show/hide the toggle tool.
By taxidriver in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 18 Nov 2010, 7:20 AM
By Ourysso in forum Ext 3.x: Help & DiscussionReplies: 1Last Post: 28 Sep 2010, 6:46 AM
By sunjiankirk in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 26 Feb 2010, 1:42 AM
By simon in forum Ext 2.x: Help & DiscussionReplies: 9Last Post: 21 Jul 2009, 2:32 AM