var setting_customfieldslist_grid = new Ext.grid.GridPanel({
store : _store,
cm : _cm,
//在Et.grid.ColumnModel中定义了id属性的那一列
//也可以用索引:autoExpandColumn:3,其中的3表示的是列的索引
[color=red]autoExpandColumn : 'BCNames_id'[/color]
});
var _cm = new Ext.grid.ColumnModel({
header : "ID",
dataIndex : 'ID',
hidden : true,
width : 100,
autoHeight : true
}, {
header : "品类类别名称",
dataIndex : 'BCNames',
id : 'BCNames_id',
width : 200
});
store : _store,
cm : _cm,
//在Et.grid.ColumnModel中定义了id属性的那一列
//也可以用索引:autoExpandColumn:3,其中的3表示的是列的索引
[color=red]autoExpandColumn : 'BCNames_id'[/color]
});
var _cm = new Ext.grid.ColumnModel({
header : "ID",
dataIndex : 'ID',
hidden : true,
width : 100,
autoHeight : true
}, {
header : "品类类别名称",
dataIndex : 'BCNames',
id : 'BCNames_id',
width : 200
});