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

Filter dropdown in edit mode based on previous selected dropdown(s)

1 Answer 38 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Johan
Top achievements
Rank 1
Johan asked on 17 Jul 2013, 03:50 PM
Hi

I'm using the approach found here (Editing Custom Editor) to bind some of my fields during edit mode to dropdown menus.

Everything works great but I need to know if it is possible to filter dropdowns during edit mode based on a previous selected value, which also happens to be a dropdown.

To help explain myself better, here is how the structure work:

[dropdown 1]                                     [dropdown 2]                                                              [dropdown 3]
select * where parentId = null      select * where parentId = id of dropdown 1     select * where parentId = id of dropdown

As you can see above, I will need to find a way to query the server on each change of the dropdown item to filter out the data I need to bind for the next dropdown.

I will appreciate it if anybody can point me in the right direction or perhaps to some relevant samples.

Thanks

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 19 Jul 2013, 08:40 AM
Hi Ryno,

 
Please note that we already provide such example of using cascading DropDownLists in Grid InLine and PopUp edit modes in our CodeLibrary:


Kind Regards,
Vladimir Iliev
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
Johan
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or