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);
}
});
我想隐藏名称和操作。也许有一些未公开的配置选项来做到这一点?