Hi Plamen,
I have answered your inquiry in the support ticket. However, I will post the answer here as well in case someone from the community has the same issue.
===
Thank you for the provided code. The observed behavior is expected since id is key word for Kendo. For each data item an internal object in the data source is created. These objects extend the data objects passed to the grid. Since the internal objects also have id property, that property gets overridden by the values of the data objects.
Also clicking cancel executes the
cancelChanges method. In other words all items with default identifiers are considered not saved and they get removed. So when creating item and the grid is bound to local data, an id have to be defined.
I have modified the provided code and now the Kendo Grid works as expected:
===
As a side note, we monitor both the forums and the ticketing system. Please avoid submitting duplicate threads. That will enable us to keep better track of the support history and provide better service.
Regards,
Georgi
Progress Telerik