从数组中删除元素后
afterCellUpdate: function(e, args) {
d = $('#my-grid').wijgrid('data');
for(var i in d) {
// remove element if Zero or is not a Number
if ((parseFloat(d[i].qty) == 0) ||
(isNaN(parseFloat(d[i].qty)))) {
d.splice(i,1);
}
}
$('#my-grid').wijgrid('ensureControl', true);
}
将导致此警报
defaultAfterCellEdit: c is null
我该如何处理这个消息?