I am using the WPF Toolkit DataGrid and DataGridComboBoxColumn. Everything works well, except that when you change the selection in the combo box, the selected binding source is not immediately updated. This only happens when the combo box loses focus. Does anyone come across this issue and any suggestions?
Here is the xaml for the column:
<toolkit:DataGridComboBoxColumn Header="Column" SelectedValueBinding="{Binding Path=Params.ColumnName, UpdateSourceTrigger=PropertyChanged}" DisplayMemberPath="cName" SelectedValuePath="cName"> <toolkit:DataGridComboBoxColumn.ElementStyle> <Style TargetType="ComboBox"> <Setter Property="ItemsSource" Value="{Binding Info.Columns}" /> </Style> </toolkit:DataGridComboBoxColumn.ElementStyle> <toolkit:DataGridComboBoxColumn.EditingElementStyle> <Style TargetType="ComboBox"> <Setter Property="ItemsSource" Value="{Binding Info.Columns}" /> </Style> </toolkit:DataGridComboBoxColumn.EditingElementStyle> </toolkit:DataGridComboBoxColumn>
source share