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

Grid with cascading dropDownList editors

1 Answer 53 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:18 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 the attached example).
The issue I'm facing is the following:
The user selects the option label in the first dropdown (Brand) and the second cascaded dropdown (Model) is also populated with its option label and it is disabled. When the user clicks on the update button to save the changes, it seems that the change made to the cascaded dropdown has not been saved in the grid's model and the previous value is still available in the grid.

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:21 AM
Hi Dimitris,

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