Hi everyone, I have a datagrid with a DataGridComboxBoxColumn and which is bound to an ObservableCollection<UnitModel>. Now I used a styleto make the combobox column editable:
<Style x:Key="EditableDataGridComboBoxColumnStyle" TargetType="ComboBox"><Setter Property="IsEditable" Value="True"/></Style>
Now the combox is editable. But when I type in text and press enter, the typed text won't get added to the combobox (and also won't display). How do I add the typed text to the collection so I can select it in other rows? DataGridTemplateColumn with combobox is welcome too, as long as I am able to achieve this feature. Thank you for the help.