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

Editable grid bug?

2 Answers 90 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kyle
Top achievements
Rank 1
Kyle asked on 24 Apr 2012, 12:59 PM
I am using a grid that has inline editing enabled. If it Edit the grid, but then hit cancel instead of update, it caused the row to be removed.

I have reproduced this in the following JSFiddle: http://jsfiddle.net/sFaUp/1/ 
If you hit edit, then cancel, the row gets removed.

This seems like a bug to me, however its possible I have something configured incorrectly. Could I receive some help with this?

Thanks!

2 Answers, 1 is accepted

Sort by
0
Accepted
Iliana Dyankova
Telerik team
answered on 26 Apr 2012, 07:56 AM
Hello Kyle,

Actually, this is not a bug -  you need to set ID of the dataSource schema. In case the ID is missing the element is treated as a new one when the "Cancel" button is clicked. For convenience I updated your jsFiddle example

Greetings,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Kyle
Top achievements
Rank 1
answered on 26 Apr 2012, 05:01 PM
Perfect, thanks that resolved the issue!
Tags
Grid
Asked by
Kyle
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Kyle
Top achievements
Rank 1
Share this question
or