Hi Guys,
I used telerik wpf gridview to bind a collection source, the every data item have a foreign key related other tables, so I use the GridViewComboBoxColumn to show the relation and make user can change it . below is my code
In above code, you can see ColorEntityCollection have two properties used for valuePath and displayPath of combobox, dataItem's ColourGroupingFk is foreign key. Everything is ok, but the filtering, the gridview unexpectedly filtered by ColourGroupingFk , not expected DisplayMemberPath : Description . Please see attachment.
How can I do this? PS: I also set Gridview's FilteringMode = FilteringMode.FilterRow for using a header filter row. I read many threads on forum, many thread recommand :
<telerik:GridViewComboBoxColumn.FilteringControl>
<Controls1:ComboColumnFilteringControl />
</telerik:GridViewComboBoxColumn.FilteringControl>
But our team don't need popup filter window, only row filter. Please help me.. Thanks very much!
I used telerik wpf gridview to bind a collection source, the every data item have a foreign key related other tables, so I use the GridViewComboBoxColumn to show the relation and make user can change it . below is my code
<
telerik:GridViewComboBoxColumn
Header
=
"{common:Translate Group}"
UniqueName
=
"ColourGroupingID"
DisplayMemberPath
=
"Description"
ItemsSource
=
"{Binding ColorEntityCollection}"
SelectedValueMemberPath
=
"ColourGroupingID"
DataMemberBinding
=
"{Binding ColourGroupingFk}"
>
</
telerik:GridViewComboBoxColumn
>
How can I do this? PS: I also set Gridview's FilteringMode = FilteringMode.FilterRow for using a header filter row. I read many threads on forum, many thread recommand :
<telerik:GridViewComboBoxColumn.FilteringControl>
<Controls1:ComboColumnFilteringControl />
</telerik:GridViewComboBoxColumn.FilteringControl>
But our team don't need popup filter window, only row filter. Please help me.. Thanks very much!