Pressing cancel button during Edit deletes the row

2 posts, 0 answers
  1. Karl
    Karl avatar
    9 posts
    Member since:
    Oct 2012

    Posted 16 Jul 2015 Link to this post

    I have a simple model bound grid with Edit and Destroy commands with Inline editing set.

    When I click on Edit, then Cancel, I expect the row to be exit out of editing mode and the row data stays the same.

     

    However what I am seeing is the grid is deleting the row.

     

    I have checked that no destroy methods are being called.

  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2596 posts

    Posted 20 Jul 2015 Link to this post

    Hello Karl,

     

    The problem is caused by missing dataSource.transport configuration. Please check the following example that uses local data and will be helpful I believe:

     

    http://docs.telerik.com/kendo-ui/web/grid/how-to/grid-localstorage-crud

     

    Regards,
    Kiril Nikolov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top