Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Nov 2007
    Posts
    13
    Vote Rating
    0
    kntrip is on a distinguished road

      0  

    Default [FIXED]Columnmodel state restore fails if column defined as hidden:true

    [FIXED]Columnmodel state restore fails if column defined as hidden:true


    #


    Code:

    Ext version tested:
    • ext-3.3-beta2-7080

    Adapter used:
    • ext

    css used:
    • only default ext-all.css



    Browser versions tested against:
    • FF3 (firebug 1.3.0.10 installed)

    Operating System:
    • WinXP Pro

    Description:
    • Columns state is not respected if you define the property by code

    Test Case:
    in the examples/grid/array-grid.js add hidden:true to any column
    i think that it isnt necessary to post the entire code example...




    Steps to reproduce the problem:
    • load example
      show hidden column
      reload page
      the showed column is still hidden

    The result that was expected:
    • the showed column must be visible even if its defined as hidden true, cos in state is defined as not hidden.

    The result that occurs instead:
    • the column is stilll hidden



    Possible fix:
    • this fix works for me
      Ext.override(Ext.grid.ColumnModel,{
      setState : function(col, state) {
      Ext.apply(this.config[col], state);
      // ORIGINAL applyIf --> Ext.applyIf(this.config[col], state);
      }
      });

  2. #2
    Sencha User Mjollnir26's Avatar
    Join Date
    Oct 2008
    Location
    Germany
    Posts
    152
    Vote Rating
    0
    Mjollnir26 is on a distinguished road

      0  

    Default


    Gnahhhhhhhh i just got bitten by this. 2 hrs down the drain...
    Will try the fix tough.

    Btw, i am on 3.2.2, didn't ever have that Problem in 3.2.1, seems like an regression!

  3. #3
    Sencha User Mjollnir26's Avatar
    Join Date
    Oct 2008
    Location
    Germany
    Posts
    152
    Vote Rating
    0
    Mjollnir26 is on a distinguished road

      0  

    Default


    Fix is working here too, thx a bunch man!

  4. #4
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,785
    Vote Rating
    597
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    I came across this while working on another issue, then I just saw this thread! Thanks for the report, it's been resolved.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Similar Threads

  1. Replies: 3
    Last Post: 19 May 2010, 11:02 AM
  2. [FIXED-302]Window restore fails without tool
    By zombeerose in forum Ext 3.x: Bugs
    Replies: 1
    Last Post: 15 Oct 2009, 10:18 PM
  3. [OPEN] [FIXED] GRID restore state bug
    By aart.de.vries in forum Ext GWT: Bugs (2.x)
    Replies: 3
    Last Post: 16 Sep 2009, 4:39 AM
  4. Replies: 2
    Last Post: 1 Sep 2009, 1:38 AM

Thread Participants: 2

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."