3 Answers, 1 is accepted
In general, when the cancel button is clicked on a new record the Grid should remove the record automatically.
This can be observed in our demo and in the runnable example with custom popup editor as well:
I can assume that there is a custom code which is interfering with the editing functionality. If possible provide a fully runnable example reproducing the issue and I will gladly assist. The attached project can be used as a starting point.
I have the same problem. The error shows like this...
Uncaught TypeError: e is undefined
I'm not use error event handler in DataSource.
Thank you for the error stack and details provided.
I tried to replicate the pointed faulty behavior. The result could be found in the sample project(attached) that I prepared for the case (ASP.NET MVC).
It includes a Kendo UI Grid with a "PopUp" Edit Mode. Try adding a new record, click on the "Cancel" button, and observe the result.
I hope this example provides the expected result. Feel free to use it as a template or as you decide. If further assistance is needed, try to replicate the described issue in a runnable sample project(could use the attached one for the purpose) and send it back to me in this thread. Once I have it locally will try my best to resolve this one for you.
Looking forward to hearing back from you.
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.