1.通过列属性获得(单元格格式化函数formatter、单元格样式styler、) function Compare_CellStyler(value,row,index){ //添加单元格样式 var str=this.field; }