只要在colModel你要加的那一行加:

formatter: operateTrunk

再在外面写函数即可:

function operateTrunk(el, options, rowData) {
    if (rowData.id !="default") {
        return "<input type='checkbox'>"
    }
    return"";
}

jqGrid自定义添加input或者其他标签

相关文章:

  • 2021-11-17
  • 2021-12-31
  • 2022-12-23
  • 2022-12-23
  • 2021-08-02
  • 2021-10-29
  • 2021-12-31
  • 2021-03-30
猜你喜欢
  • 2022-02-26
  • 2022-12-23
  • 2022-12-23
  • 2021-11-24
  • 2022-12-23
  • 2021-08-03
  • 2022-02-01
相关资源
相似解决方案