1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    3
    Vote Rating
    0
    leo.jfernandez is on a distinguished road

      0  

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

    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,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      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

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar