Hi,
I recently upgraded to the latest version of the WPF Datagrid, and am having a few teething problems. Probably most noticeable, and the issue I wish to raise here is that the Boolean values, that get displayed as a checkbox, no longer seem to update my underlying data set. I have the following XAML:
<xcdg:DataGridControl.Columns>
<xcdg:Column FieldName="Generate" Title="" ReadOnly="False" Visible="True" Width="20">
<xcdg:Column.CellContentTemplate >
<DataTemplate>
<CheckBox Margin="1,1,1,1" Width="15" IsChecked="{xcdg:CellEditorBinding}"/>
</DataTemplate>
</xcdg:Column.CellContentTemplate>
<xcdg:Column.CellEditor>
<xcdg:CellEditor>
<xcdg:CellEditor.EditTemplate>
<DataTemplate>
<CheckBox Margin="1,1,1,1" Width="15" IsChecked="{xcdg:CellEditorBinding}" />
</DataTemplate>
</xcdg:CellEditor.EditTemplate>
</xcdg:CellEditor>
</xcdg:Column.CellEditor>
</xcdg:Column>
This code worked with the version 2.0 of the data grid, and is no longer working with my application on the new version of the datagrid. If I try and add a Click event, I am unable in code to get a reference to the relevant data row.
Any ideas would be greatly appreciated.
Many thanks in advance.
Martyn