When you have a data source that is more than a few pages long, here is a settings and steps to replicate the problem.
- Select an editable cell on the intial load of the grid
- Scroll down the grid until dynamic loading occur
- The select another cell to edit
- commit the edit by moving the focus away from that cell.
We found that the transport.update method is fired more than once (sometimes more than twice) in this case.
var
gridData =
new
kendo.data.DataSource({
transport: transport,
serverPaging:
true
,
serverSorting:
true
,
serverFiltering:
true
,
schema: {
...
},
pageSize: 50,
autoSync:
true
,
error: gridHelper.error
});
grid.kendoGrid({
dataSource: gridData,
sortable:
true
,
navigatable:
true
,
editable:
true
,
scrollable: {
virtual:
true
},
resizable:
true
,
selectable:
'row'
});