KENDO Grid control – Where are the deleted records?
Introduction
This is what I found while I was creating a customized data entry form with KENDO Grid control.
This post is related to the post “KENDO Grid control“.
Details
When the ‘remove’ function of the Kendo DataSource bound to the Kendo Grid is used, the data shown in the grid disappears, but it is only moved into the ‘destroyed’ object and is not deleted physically.
We can see where the deleted records are stored with the code show below:

- By using the KENDO DataSource function ‘remove,’ the deleted record is moved to the KENDO DataSource ‘destroyed’ object. It can be restored using the KENDO DataSource function ‘cancelChanges.’ The standard toolbar item ‘Cancel Changes’ for the KENDO Grid performs the same action as default.
- The ‘destroyed’ object can be iterated like this
Afterword
This shows what I found, and you can discover what we can do with the KENDO DataSource object through their web publications here.
