dataBound: function (e) {
//设置字体颜色
$.each(dataSource.data(), function (i, v) {
if(v.billAmount < 0) {
$('tbody > tr[data-uid="' + v.uid + '"] > td').css("color","red");
}
})
},
转载于:https://www.cnblogs.com/chengshixiaonongming/p/10372853.html