I have the following column in a grid:
<
t:GridViewComboBoxColumn
IsComboBoxEditable
=
"True"
DataMemberBinding
=
"{Binding Path=QuoteNum, Mode=TwoWay}"
Header
=
"Quote"
Width
=
"125"
ItemsSource
=
"{Binding Path=AvailableQuotes, Mode=OneWay}"
/>
The ItemsSource is a simple IEnumerable<string>, and the combo shows the values from the ItemsSource, but I also want to allow the user to input a value that is not in the list (ItemsSource), hence the IsComboBoxEditable="True".
However, whenever you type in a value to the combobox, the value is lost and the column is left unset. In fact, as far as I can tell the property setter on the view model is never actually called.
What am I doing wrong?