I have a GridDataVisibleColumn with the MappingName="IssuerId".
<sf:GridDataVisibleColumn HeaderText="Issuer" MappingName="IssuerId" IsReadOnly="False" Width="125" >
<sf:GridDataVisibleColumn.HeaderStyle>
<sf:GridDataColumnStyle HorizontalAlignment="Center"/>
</sf:GridDataVisibleColumn.HeaderStyle>
<sf:GridDataVisibleColumn.ColumnStyle>
<sf:GridDataColumnStyle CellType="ComboBox" DropDownStyle="AutoComplete"/>
</sf:GridDataVisibleColumn.ColumnStyle>
</sf:GridDataVisibleColumn>
In Code Behind I hook up the ItemsSource to my View Model list; DisplayMember, & ValueMember.
this.grdImportBlotter.VisibleColumns["IssuerId"].ColumnStyle.ItemsSource = this.vm.Issuers;
this.grdImportBlotter.VisibleColumns["IssuerId"].ColumnStyle.DisplayMember = "DealName";
this.grdImportBlotter.VisibleColumns["IssuerId"].ColumnStyle.ValueMember = "DealId";
When I try to filter this column, the list that the user can filter on is a list of, what appears to be the ValueMember, rather than the DisplayMember.
How can I get the filter control to show the Name (DisplayMember) rather than the ValueMember (which is a Guid)?
Thanks.