This is a migrated thread and some comments may be shown as answers.

Destroy only fires on Save?

1 Answer 290 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 13 Apr 2017, 12:53 PM

I encountered the same thing in my code, when deleting a record, it doesn't actually delete until you Save. This seems very un-intuitive, there is no feedback at all saying there are unsaved changes, also there is already a prompt asking me if I wanted to save changes. I could understand this behavior if that prompt was turned off but there should still be SOME feedback to the user that they have unsaved changes.

 

Is this a bug, or is there an easy way to display to the user they still need to click Save?

 

https://demos.telerik.com/aspnet-mvc/grid/editing

1 Answer, 1 is accepted

Sort by
0
Preslav
Telerik team
answered on 17 Apr 2017, 08:56 AM
Hello Alex,

A possible solution is handling the remove method.

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#events-remove

After that, for example, you could display the required message via an alert or Kendo Alert.

http://docs.telerik.com/kendo-ui/api/javascript/ui/alert



Regards,
Preslav
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Alex
Top achievements
Rank 1
Answers by
Preslav
Telerik team
Share this question
or