DataGridComboBoxColumn with DisplayMemberPath #121
Unanswered
Duploman72
asked this question in
Q&A
Replies: 1 comment
-
|
I think you have the write your own custom version of a multiple choice filter |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
In my DataGrid, I have several columns of type DataGridComboBoxColumn that display text different from their actual values (DisplayMemberPath vs SelectedValuePath). The MultipleChoiceFilter template displays the value. How can I modify the template so that it displays the member?
I would like the text in red (Name) to appear in place of the text in white (Id).
<DataGridComboBoxColumn Header="Type" ItemsSource="{Binding Source={x:Static local:Static.TaxTypes}}" SelectedValueBinding="{Binding TypeId}" DisplayMemberPath="Name" SelectedValuePath="Id">What would be the correct method for achieving this result?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions