2012-04-05 92 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); 
    } 
}); 

我想隐藏名称操作。也许有一些未公开的配置选项来做到这一点?

回答