I have a kendo grid with columns as:
i write a function for Close button, when user select rows by check and click Close button, this will auto update IsClosed Column to "True"
and this is my code:
$(function () {
$('#btnClose').click(function () {
var grid = $('#grOrders').data("kendoGrid");
$.each($('#grOrders :checkbox:checked').closest('tr'), function () {
var data = grid.dataItem($(this));
data.set("IsClosed", true);
});
});
});
when i test, it only update a first row checked, don't know why? please help me.