1、使用的单元格属性cellStyle
column:[ { field: \'birthday\', title: \'生日\', align: \'center\', cellStyle: columnColorFunction } ]
function columnColorFunction (value, row, index) { if (value == "1999-02-11") { //字体颜色 return {css:{\'color\':\'#ed5565\'}}; } else { //背景颜色 return {css:{\'background-color\':\'#ed5565\'}};; } }