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

Selecting a value from DropDownList does not change cell value

1 Answer 82 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Amanda
Top achievements
Rank 1
Amanda asked on 26 Nov 2012, 08:37 PM
I have a grid bound to an XML data source.  Some elements in the XML may be missing; in this case, the value of the corresponding field should be null.  This is working fine when I use a string or number-type editor, but when using a DropDownList, if the element is missing from the XML, the grid cell remains blank after I select a value from the list.  You can see this in this fiddle (try selecting a value in the bottom right cell).

1 Answer, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 29 Nov 2012, 03:45 PM
Hello Amanda,

Yes sadly when field you want to update is null/undefined the value for the object become the whole model. 
In your particular scenario I could suggest you to manually get the value and update the model. Here is an updated jsfiddle.

Kind regards,
Petur Subev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Amanda
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Share this question
or