首页 > 技术文章 > easyUI的column的field的颜色属性

kongxc 2017-06-10 10:18 原文

 {field:'hasPrintStr',title:'状态',width:10,halign:'center',align:'right',styler: function(value,row,index){
if(row.hasPrint == 'WDY'){
return 'color:red;';
}else{
return 'color:blue;';
}
}}, 

推荐阅读