easyUI自动填充复选框

来源:互联网 发布:淘宝wifi营销系统 编辑:程序博客网 时间:2024/05/29 15:48

{

   field: 'op',title: '<input id=\"all\" type=\"checkbox\"onclick="\selectAll()\"  >',width: 30,

                       formatter: function (value, rec, rowIndex) {

                            return"<input type=\"checkbox\" name=\"check\" value=\"" + rec.UserId +"\">";

                       },

                   },

0 0