zl程序教程

您现在的位置是:首页 >  前端

当前栏目

easyUI的column的field的颜色属性

EasyUI属性 颜色 Column Field
2023-09-27 14:26:06 时间
 {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;';
}
}},