1
我在显示数据网格1管理员和2 - 标准 对电网应用列表过滤器上显示1和2 我需要显示“admin”和“标准”列表过滤
支票影像:
代码:
{ text: 'UserType', dataIndex: 'UserTypeId', groupable: true,
filter: {
type: 'list', active: true
},
renderer: function (value) {
if (value == 1) {
return "Admin";
}
else
return "Standard";
}
},