Showing
2 changed files
with
5 additions
and
3 deletions
@@ -237,7 +237,8 @@ grid.prototype = { | @@ -237,7 +237,8 @@ grid.prototype = { | ||
237 | }); | 237 | }); |
238 | var h_t = column.display || ""; | 238 | var h_t = column.display || ""; |
239 | c.html(h_t); | 239 | c.html(h_t); |
240 | - if (column.type) c.html("<input type='" + column.type + "' class='wqt_all' />"); | 240 | + var input_class=column._class||"wqt_all"; |
241 | + if (column.type) c.html("<input type='" + column.type + "' class='"+input_class+"' />"); | ||
241 | return column.hidden ? "" : c; | 242 | return column.hidden ? "" : c; |
242 | }, | 243 | }, |
243 | ajax: function(param) { | 244 | ajax: function(param) { |
@@ -44,9 +44,10 @@ var promotionEdit={ | @@ -44,9 +44,10 @@ var promotionEdit={ | ||
44 | { | 44 | { |
45 | display: '', | 45 | display: '', |
46 | type: 'checkbox', | 46 | type: 'checkbox', |
47 | - render: function (item) { | 47 | + _class:"all", |
48 | + render: function (item) { | ||
48 | var htmlContent = ""; | 49 | var htmlContent = ""; |
49 | - var _class="wqt_checkbox"; | 50 | + var _class="promotion_checkbox"; |
50 | if(g.batchIds.length === 0 ){ | 51 | if(g.batchIds.length === 0 ){ |
51 | //htmlContent = "<input type='checkbox' class='wqt_checkbox' data-index='"+item.__index+"'>"; | 52 | //htmlContent = "<input type='checkbox' class='wqt_checkbox' data-index='"+item.__index+"'>"; |
52 | htmlContent = g.buildCheckboxHtml(_class,item.__index); | 53 | htmlContent = g.buildCheckboxHtml(_class,item.__index); |
-
Please register or login to post a comment