2012-04-05 95 views
2

我有網這樣的事情:如何隱藏extjs網格列名稱?

Ext.define('Exp.view.dashboard.Tv', { 
    extend: 'Ext.grid.Panel', 

    initComponent: function() { 
     this.columns = [ 
      {header: 'Name', dataIndex: 'name', flex: 1}, 
      { 
       header: 'Actions', 
       xtype: 'actioncolumn', 
       items: [ 
        { 
         icon : '/images/icons/star_off.png' 
        } 
       ] 
      } 
     ]; 

     this.callParent(arguments); 
    } 
}); 

我想隱藏名稱操作。也許有一些未公開的配置選項來做到這一點?

回答