javascript - kendo grid cancelChanges issue -
I am working on a web application using the Kado grid (angular JS). I should call Usually this goes back to the previous What have you tried to say in this demo: but it works correctly. It may only work when you call grid.saveChanges () after deleting or inserting each code.
save changes state, but in my case it was deleted Any help showing the row?
saveChanges () manually. When you cancel
, then data is stored in the
_pristineData property to restore the data, so try this solution:
var grid = $ ("#YourGrid") data ("kendoGrid") .; Grid.saveChanges (); Grid.dataSource._pristineData = grid.dataSource._data;
Comments
Post a Comment