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

Cascading useless, how can I rebind myself?

1 Answer 54 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 28 Feb 2013, 09:14 PM
Since cascading doesn't wait for the value to be set when inside a grid, I need to rebind the second dropdown when the first changes.

I can't find how to do that with javascript, even though it's a simple task.  Plenty of posts for Telerik, but not Kendo...

I thought it would be something like this, but I get a javascript error that datasource doesn't exist.

$("#dropdownID").data("kendoDropDownList").datasource.read();

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 01 Mar 2013, 01:56 PM
Hello James,

 
The cascading comboboxes/dropdownlists should work just fine if used as an editor template in a grid. I will suggest you download the latest internal build and give it a try. Also you can check this help topic and this demo for more information.

I am not sure what is the cause of the javascript error. Probably the widget is not initialized at the moment when the code snippet is executed.

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