Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Feb 2008
    Posts
    156
    Vote Rating
    1
    WixSL is on a distinguished road

      0  

    Default [FIXED-1179] GridView Hidden Column Problem

    [FIXED-1179] GridView Hidden Column Problem


    Adding align attribute to a column definition, makes the column visible even when it has hidden attribute set to true.

    Example:
    Using the "Stateful Array Grid Example" from "ext-3.3-beta1-6976\examples\grid\array-grid.js",

    Code:
     // create the Grid
        var grid = new Ext.grid.GridPanel({
            store: store,
            columns: [
                {id:'company',header: 'Company', width: 160, sortable: true, dataIndex: 'company'},{
                  header: 'Price', 
                  width: 75, 
                  sortable: true, 
                  renderer: 'usMoney', 
                  dataIndex: 'price', 
                  hidden: true, 
                  align:'left' /* Price should be hidden but it shows up in the grid until you get rid if the align attribute */
                }, 
                {header: 'Change', width: 75, sortable: true, renderer: change, dataIndex: 'change'},
                {header: '% Change', width: 75, sortable: true, renderer: pctChange, dataIndex: 'pctChange'},
                {header: 'Last Updated', width: 85, sortable: true, renderer: Ext.util.Format.dateRenderer('m/d/Y'), dataIndex: 'lastChange'},
                {
                    xtype: 'actioncolumn',
                    width: 50,
                    items: [{
                        icon: '../shared/icons/fam/delete.gif',  // Use a URL in the icon config
                        handler: function(grid, rowIndex, colIndex) {
                            var rec = store.getAt(rowIndex);
                            alert("Sell " + rec.get('company'));
                        },
                        tooltip: 'Sell stock'
                    }, {
                        iconCls: 'buy-col',                      // Or use a class in the iconCls config
                        handler: function(grid, rowIndex, colIndex) {
                        var rec = store.getAt(rowIndex);
                            alert("Buy " + rec.get('company'));
                        },
                        tooltip: 'Buy stock'
                    }]
                }
            ],
            stripeRows: true,
            height: 350,
            width: 600,
            title: 'Array Grid',
            // config options for stateful behavior
            stateful: true,
            stateId: 'grid'
        });
    Last edited by WixSL; 5 Aug 2010 at 5:32 AM. Reason: code re-formated

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report.

  3. #3
    Sencha - Community Support Team edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939
    Vote Rating
    7
    edspencer is a jewel in the rough edspencer is a jewel in the rough edspencer is a jewel in the rough

      0  

    Default


    Thanks, this has been resolved and will form part of 3.3 beta 2
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

  4. #4
    Sencha User
    Join Date
    Feb 2008
    Posts
    156
    Vote Rating
    1
    WixSL is on a distinguished road

      0  

    Default


    Ok, Thank you!

Similar Threads

  1. [FNR] GridView column size problem
    By dno in forum Ext GWT: Bugs (2.x)
    Replies: 11
    Last Post: 31 Aug 2010, 7:41 AM
  2. Replies: 1
    Last Post: 27 Jan 2010, 5:44 PM
  3. [FIXED][2.2.1/3.0rc3] GridView.resolveCell problem
    By aappell in forum Ext 3.x: Bugs
    Replies: 3
    Last Post: 2 Jul 2009, 7:20 AM
  4. Replies: 4
    Last Post: 2 Oct 2008, 2:43 PM
  5. Replies: 2
    Last Post: 20 Dec 2006, 6:48 PM

Thread Participants: 2

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..." hd porno faketaxi