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

one GridViewComboBoxColumn need filter its itemsSource according with another column's data

2 Answers 62 Views
GridView
This is a migrated thread and some comments may be shown as answers.
cx
Top achievements
Rank 1
cx asked on 06 Apr 2011, 11:56 AM
Hello,

I need to create a window, there is a RadGridview that binding to a dataTable.  This DataTable contains Area and DriverID columns.
Area binding to GridViewDataColumn, DriverID binding to GridViewComboBoxColumn. The logic is some drivers belong to particular
area. When the gridview loaded, the drivers user can selected in GridViewComboBoxColumn is decided by current row's Area.

My question is how to filter this Driver comboBoxColumn according to Area, I found there is a RadGridView1_CellEditorInitialized event in WinForm, but WPF not,  Which event I should use to filter driver comboBoxColumn's itemsSource?

Thanks in advance!

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 07 Apr 2011, 03:24 PM
Hello cx,

 You can check this blog post for more info. 

Kind regards,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
cx
Top achievements
Rank 1
answered on 08 Apr 2011, 04:18 AM
Hi Vlad,

Thanks for you help. I have fixed it.

Best regards
cx
Tags
GridView
Asked by
cx
Top achievements
Rank 1
Answers by
Vlad
Telerik team
cx
Top achievements
Rank 1
Share this question
or