Hi
If to edit the first row, then the second one, then the first one again, save method is called several times while editing the last time
$("#grid").kendoGrid({
columns: [
{field: "Id", title: "№"},
{field: "Text", title: "Text"}
],
dataSource: {
data: [
{"Id":"4","Text":"hi"},
{"Id":"7","Text":"word"}
],
schema: {
model: {
id: "Id",
fields: {
Id: {editable: false, validation: {required: true}},
Text: {nullable: true}
}
}
}
},
scrollable: false,
sortable: true,
filterable: true,
editable: true,
save: function(e) {
console.log(e);
}
}).data("kendoGrid");