Results 1 to 2 of 2

Thread: Dynamically change the config option (collapsible) for a FormPanel

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    3
    Vote Rating
    0
      0  

    Question Dynamically change the config option (collapsible) for a FormPanel

    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

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    118
      0  

    Default

    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.

Similar Threads

  1. FormPanel bufferResize config option
    By taxidriver in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 18 Nov 2010, 7:20 AM
  2. How I set dynamically the value of the config option Header
    By Ourysso in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 28 Sep 2010, 6:46 AM
  3. dynamically set combobox's hidetrigger config option
    By sunjiankirk in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 26 Feb 2010, 1:42 AM
  4. Change form config option
    By simon in forum Ext 2.x: Help & Discussion
    Replies: 9
    Last Post: 21 Jul 2009, 2:32 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
  •