我有一个像这样的列的网格:
{
text: 'Mercado',
type: 'int',
flex: 1,
sortable: true,
dataIndex: 'idMercadoProd',
field: {xtype:"combo", store:storeMercadosCombo, displayField:"mercado", valueField:"id"},
renderer: function(value) {
value = parseInt(value);
var texto = gridMercado.getStore().findRecord("id", value).get("mercado");
return Ext.String.format(texto);
}
}
我想更改字段属性,在某些情况下设置为null 我已经搜索过,但是找不到一个固定的命令 什么是让我更改字段属性的命令?