I am facing the problem of Popup Grid (kendo Grid) Cancel button.When I choose cancel on Popup editing, the entire row is deleted.
I saw so many threads in kendo grid forum but didn't help me.
I attached this related files.
Can somebody plz help me to fix this issue ?
3 Answers, 1 is accepted
answered on 23 Sep 2014, 12:19 PM
This behavior is usually observer when there isn't `id` defined for the model or if the item, which is being cancelled, has default value of the `id` field.
In your setup there is defintion for Model.Id, however it is not obvious how the grid is bound. Read method points to some dummy action method which doesn't exists in the provided files: `.Read("Dummy", "Dummy") `.
The following article explains how to properly setup the Grid and how to implement controller methods in order to have editable grid working correctly: Grid Ajax Editing.
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!