easyUI的column的field的颜色属性

 {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;';
}
}}, 
posted @ 2017-06-10 10:18  baby孔祥超  阅读(2019)  评论(0编辑  收藏  举报