colModel: [
                {
                    name: '列名称',
                    index: '列名称',
                    width: 65,
                    sortable: true,
                    resizable: false,
                    cellattr: addCellAttr
                }]


function addCellAttr(rowId, val, rawObject, cm, rdata) {
 if (条件) {
               return "style='color:red'";
      }
}

  

相关文章:

  • 2022-02-05
  • 2022-12-23
  • 2021-05-02
  • 2022-02-21
  • 2022-12-23
  • 2021-11-13
  • 2022-12-23
  • 2021-11-13
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案