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

Grid with cascading dropDownList editors

1 Answer 31 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dimitris
Top achievements
Rank 1
Dimitris asked on 13 Mar 2014, 10:25 AM
Hi,

I have configured cascading dropdown editors in Kendo Grid (inline editing) following this example http://www.telerik.com/support/code-library/cascading-dropdownlist-editors#boGvza6aG2OF1P8AAFTdxQ .

The changes I made are to use kendo v2013.3.1119, jquery v2.0.3 and to define option labels for both dropdown editors (see attached example).
The issue I'm facing is the following:
The user selected the option label in the first dropdown (Brand) and the second cascaded dropdown (Model) is correctly populated with its option label. When the user clicks on the button "Update", then it seems that the value of the cascaded dropdown is not saved in the grid's model and the grid displays the previous value.

Is there a way to resolve this issue?

Regards,
Dimitris

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 14 Mar 2014, 10:25 AM
Hi Dimitris,

I have already answered your question in the other thread that you have opened, but I will copy my answer here as well.

The behavior that you observe is expected. The optionLabel is an element with no value, so the model of the Grid does not have values passed and not updated accordingly. If you want to select the option label as a value, you should better add it as a standard element of the DropDownList that can be selected and updated in the Grid correctly.

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