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

Changing GridViewComboBoxColumn items according to another GridViewComboBoxColumn

1 Answer 38 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Alexandre
Top achievements
Rank 1
Alexandre asked on 12 Jun 2018, 04:25 PM

Hi, How I create a RadGridView project with 2 GridViewComboBoxColumn when:

When I select an item in the first combobox the other one change their items, example:

- ComboBox1 with items: X and Y

- ComboBox2 with items: 1 and 2

When I select the item X of ComboBox1 the item of ComboBox2 is: only 1

When I select the item Y of ComboBox1 the items of ComboBox2 are: 1 and 2

 

Can you create an example for me? Thnks!

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 15 Jun 2018, 11:45 AM
Hi Alexandre,

We have an SDK example that demonstrates how such behavior can be implemented with RadGridView: Cascading ComboBoxColumns. The approach is also discussed in details in the Cascading ComboBoxes Selection in RadGridView blog post.

Hope this helps.

Regards,
Stefan
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
GridView
Asked by
Alexandre
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or