Hi All,
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.
Thanks,
Leo
Hi All,
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.
Thanks,
Leo
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.