Its 2010, .Net 4 is released, and the DataGrid is supported by now right? Anyway. Using much research I have successfully created a WPF DataGridComboBox Column that can:
1. Load a list of reference data, display the name column (instead of the ID column), and pick from the list.
2. Allow the user to type into the text box section and have the list auto complete from the selection
3. Capture events along the way such as TextBox.TextChanged (which does me no good with my current senario).
I have 1 more requirement, that I can't seem to get past. The user may type something not in the list, and after the user is done, I want to fire off an event that I can capture to create a new record based on the data (which is string, not ID).
I don't seem to have any validation issues because of this: When the item typed in is not in the list, the default behavior clears out the TextBox, and moves on (with it blank). Here is my working DataGridComboBox:
<DataGridComboBoxColumn x:Name="ClearanceFileColumn" Header="Clearance File"
View Complete Post