1. 特殊的单元格样式
columns中
{ field: 'smail', title: '哈哈哈', width: 60, styler: function (value, row, index) { if (row.Status == '2') { return 'background-color:#ffee00;color:red;'; } } },
效果图
1. 特殊的单元格样式
columns中
{ field: 'smail', title: '哈哈哈', width: 60, styler: function (value, row, index) { if (row.Status == '2') { return 'background-color:#ffee00;color:red;'; } } },
效果图
转载于:https://www.cnblogs.com/AaronYang/p/3491813.html