EasyUI设置表格字体颜色

EasyUI设置表格列数据颜色
{field:'',title:'',width:100,align:"center",
 formatter:function(value,row,index){
return  '<span style="color:red">'+value+'</span>';
 }}
 
官网还有使用styler:function(value,row,index){
return  'color:red';
 }
然而这种方式测试不生效,应该是color:red属性不对

版权声明:本文为dongyuxu342719原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。