/**
* 表格渲染事件加载单元格的字体颜色
*/
fileGridAgainMini.on("drawcell",function(e){
var record = e.record;
if(e.field == 'CheckResult'){
if(record.CheckResult == '同意'){
e.cellStyle= 'color:green;';
}else if(record.CheckResult == '不同意'){
e.cellStyle= 'color:red;';
}
}
});
/** * 表格渲染事件加载单元格的字体颜色 */
猜你喜欢
转载自www.cnblogs.com/chaogePlus/p/9855440.html
今日推荐
周排行