Skip to content

Commit

Permalink
fix: grid中checkbox值变时dataTable字段值不变
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghaoo committed Dec 5, 2016
1 parent 18cc826 commit 12011c8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions js/component/keroa-grid.js
Expand Up @@ -238,6 +238,11 @@ var GridAdapter = BaseAdapter.extend({
stopEvent(e);
return false;
}
if ($(this).parent().hasClass('is-checked')) {
this.checked = true;
} else {
this.checked = false;
}
var value = this.checked?"Y":"N";
var column = obj.gridCompColumn
var field = column.options.field
Expand Down

0 comments on commit 12011c8

Please sign in to comment.