Destroy only fires on Save?

2 posts, 0 answers
  1. Alex
    Alex avatar
    76 posts
    Member since:
    May 2015

    Posted 13 Apr 2017 Link to this post

    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

  2. Preslav
    Admin
    Preslav avatar
    571 posts

    Posted 17 Apr 2017 Link to this post

    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.
Back to Top