<DataGridTemplateColumn Header="Brand Code">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<ComboBox IsEditable="True" Text="{Binding Path=BrandCode, Mode=OneWayToSource}" ItemsSource="{Binding Brands}"/>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
the above code displays the list but when i select the value it doesn't assign back to BrandCode.
but if i click on the next column to edit the value is assigned to BrandCode,
can any one help?