$(’#wuliaoList’).datagrid({
rowStyler:function (index, row) {
if (row.status == ‘1’){
return ‘color:red;’;
}else if(row.status == ‘2’){
return ‘color:blue;’;
}else{
return ‘color:black;’;
}
}
});
jeecg列表错误标红
最新推荐文章于 2023-08-29 14:02:41 发布
$(’#wuliaoList’).datagrid({
rowStyler:function (index, row) {
if (row.status == ‘1’){
return ‘color:red;’;
}else if(row.status == ‘2’){
return ‘color:blue;’;
}else{
return ‘color:black;’;
}
}
});