This project is read-only.

ExtendedDataGrid Check Box Column need to click multiple times to check the box.

Mar 27, 2014 at 2:09 PM
Edited Mar 27, 2014 at 2:22 PM
I am using the Extended Data Grid in an application. When I use the ExtendedDataGridCheckBoxColumn I have to click on the check box twice to get it to show a check in the check box.

Here is the XAML code that I am using:

<my:ExtendedDataGrid AutoGenerateColumns="False" HorizontalAlignment="Stretch" Margin="2,54,0,0" Name="dgValues" VerticalAlignment="Stretch" CanUserAddRows="False" CanUserDeleteRows="False"
                          ItemsSource="{Binding}" SelectionChanged="dgValues_SelectionChanged" EnableRowVirtualization="False">

                    <my:ExtendedDataGrid.Columns>
                        <col:ExtendedDataGridTextColumn Header="ID" IsReadOnly="true" Binding="{Binding ID}" ></col:ExtendedDataGridTextColumn>
                        <col:ExtendedDataGridCheckBoxColumn Header="Update" Width="50"  IsThreeState="False" Binding="{Binding Update, UpdateSourceTrigger=PropertyChanged}"  AllowAutoFilter="False">

                        </col:ExtendedDataGridCheckBoxColumn>


                        <col:ExtendedDataGridTextColumn Header="Project" IsReadOnly="true" Binding="{Binding ProjectName}"  AllowAutoFilter="True"/>
                        <col:ExtendedDataGridTextColumn Header="Number" IsReadOnly="true" Binding="{Binding Number}" />
                        <col:ExtendedDataGridTextColumn IsReadOnly="True" Header="Statement" Width="*" Binding="{Binding Statement}" />


                        <col:ExtendedDataGridTextColumn Header="Version" IsReadOnly="true" Binding="{Binding Version}" />
                        <col:ExtendedDataGridTextColumn Header="Status" IsReadOnly="true" Binding="{Binding Status}" />
                        <col:ExtendedDataGridTextColumn Header="Source" IsReadOnly="true" Binding="{Binding Source}" />
                        <col:ExtendedDataGridTextColumn Header="# Task RTMs" IsReadOnly="true" Binding="{Binding TaskRTM}" />
                        <col:ExtendedDataGridTextColumn Header="# Testcase RTMs" IsReadOnly="true" Binding="{Binding TestCaseRTM}" />
                        <col:ExtendedDataGridTextColumn Header="StatusCM" IsReadOnly="true" Visibility="Hidden" Binding="{Binding StatusCM}" />
                        <col:ExtendedDataGridTextColumn Header="LastStatus" IsReadOnly="true" Visibility="Hidden" Binding="{Binding LastStatus}" AllowAutoFilter="False" />
                        <col:ExtendedDataGridTextColumn Header="Source" IsReadOnly="true" Visibility="Hidden" Binding="{Binding Source}" AllowAutoFilter="False" />
                        <col:ExtendedDataGridTextColumn Header="Requirement Status History" IsReadOnly="true" Visibility="Hidden" Binding="{Binding Requirement Status History}" AllowAutoFilter="False" />
                        <col:ExtendedDataGridTextColumn Header="ProjectName" IsReadOnly="true" Visibility="Hidden" Binding="{Binding ProjectName}" AllowAutoFilter="False" />

                        </my:ExtendedDataGrid.Columns>
                </my:ExtendedDataGrid>
Any suggestions as to how I can make it so I only have to click on the check box once to change the checked value would be appreciated.

I found this post as an option with the DataGrid Control, but I don't know how to apply it as a solution for this control:
http://social.msdn.microsoft.com/Forums/vstudio/en-US/a4eecd08-4747-4a53-8977-55728b1b2d97/datagrid-checkbox-check-uncheck-in-single-click?forum=wpf