rowStyle: function (row, index) {
return {css: {"background-color": 'rgb(0,0,0)'}};
}
rowStyle: function (row, index) {
return {css: {"color": 'rgb(0,0,0)'}};
}
cellStyle:function(value,row,index){
return {css: {"background-color": 'rgb(0,0,0)'}};
}
cellStyle:function(value,row,index){
return {css: {"color": 'rgb(0,0,0)'}};
}
var custom = {
clickToSelect: true,
rowStyle: function (row, index) {
if (row.zjzt == '2') {
return {css: {"color": 'rgb(253,0,0)'}};
}
return '';
},
columns: [{
checkbox: true
}, {
field: 'zjzt',
title: '证件状态',
formatter: function (value, row, index) {
if(row.zjzt != ''){
return row.zjzt;
}
}
}
}