This is a migrated thread and some comments may be shown as answers.
Filter for dropdown results
1 Answer 3 Views
This is a migrated thread and some comments may be shown as answers.
Harris
Top achievements
Rank 1
Harris asked on 16 Oct 2020, 03:11 PM

Hello,

I have a kendo grid that uses two foreign keys.  The drop-down created has the first parameter, which is for example 1 and 2. For one and two they each have the same four choices in the second parameter drop-down. When the drop down is open you can see the four choices twice for each parameter though they are the same. Is there a way to when is selected in the first drop down to only show the options for that parameter and not the options for the other as well?

1 Answer, 1 is accepted

Sort by
0
Tsvetomir
Telerik team
answered on 21 Oct 2020, 11:21 AM

Hi, Harris,

Thank you for sharing the scenario you are willing to achieve. Indeed, the two foreignkey columns are not dependent on each other as well. Therefore, achieving the cascading functionality with them is not possible out-of-the-box.

What I can recommend as an alternative is to create two custom dropdown list editors and make them cascading as shown in the following thread:

https://www.telerik.com/forums/how-to-have-cascading-foreignkey-columns-in-a-grid's-inline-edit-mode#g24-mb6b406jRhQ4P9VAUQ

 

Kind regards,
Tsvetomir
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).

Asked by
Harris
Top achievements
Rank 1
Answers by
Tsvetomir
Telerik team
Share this question
or