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

Pressing cancel button during Edit deletes the row

1 Answer 54 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Karl
Top achievements
Rank 1
Karl asked on 16 Jul 2015, 02:54 PM

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.

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 20 Jul 2015, 08:15 AM

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
Tags
Grid
Asked by
Karl
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or