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属性不对
————————————————
版权声明:本文为CSDN博主「Terisadeng」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/dongyuxu342719/java/article/details/77482527

相关文章:

  • 2021-08-18
  • 2021-12-06
  • 2022-03-02
  • 2022-01-21
  • 2021-12-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-21
  • 2022-02-27
  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
相关资源
相似解决方案