easyui数据表格显示复选框_EASYUI DATAGRID 多列复选框CheckBox

主要实现:用的 easyui 1.3.2实现多个复选框列,各列互不影响。能够实现全选。主要部门用红色标记了的。easyui datagrid 初始化:function initTableGMAL() {$("#dg_gmal").datagrid({url: "/Manager/PublishManager/ashx/MALOP.ashx?action=search",idField: 'MAL_...
摘要由CSDN通过智能技术生成

主要实现:

用的 easyui 1.3.2

实现多个复选框列,各列互不影响。能够实现全选。主要部门用红色标记了的。

easyui datagrid 初始化:

function initTableGMAL() {

$("#dg_gmal").datagrid({

url: "/Manager/PublishManager/ashx/MALOP.ashx?action=search",

idField: 'MAL_ID', fit: false, fitColumns: true, singleSelect: true,

width: 637, height: 280,

rownumbers: true, nowrap: true, pagination: false,

checkOnSelect: false, selectOnCheck: false,

columns: [[

{ field: 'MAL_ZHName', title: '属性', width: 200, align: 'center' }

,

{ field: 'op1', title: ' 明细中显示:', width: 70, align: 'right' },

{

field: 'op11', title: '', width: 30,

formatter: function (value, rec, rowIndex) {

return "";

}

},

{ field: 'op2', title: '列表中显示:', width: 70, align: 'right' },

{

field: 'op22', title: '', width: 30,

formatter: function (value, rec, rowIndex) {

return "";

}

}

]],

onLoa

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值