Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
170
Problem: CheckBox Event in xamDataGrid only gets fired when another Cell/Row is selected
posted

Hi

I'm using following Code to bind a bool to a CheckBox:

     <igDP:XamDataGrid Grid.Column="0"
                              DataSource="{Binding Path=SomeViewModel.SomeList}"
                              Theme="Generic"
                              AutoFit="True" UpdateMode="OnCellChange">
                <igDP:XamDataGrid.FieldLayouts>
                    <igDP:FieldLayout>
                        <igDP:FieldLayout.Settings>
                            <igDP:FieldLayoutSettings AutoGenerateFields="False" />
                        </igDP:FieldLayout.Settings>
                        <igDP:FieldLayout.FieldSettings>
                            <igDP:FieldSettings AllowRecordFiltering="False"/>
                        </igDP:FieldLayout.FieldSettings>
                        <igDP:FieldLayout.Fields>
                            <igDP:Field Label="" Name="IsChecked" Visibility="Visible">
                                <igDP:Field.Settings>
                                    <igDP:FieldSettings/>
                                </igDP:Field.Settings>
                            </igDP:Field>

etc.

I want to update the Property "IsChecked" as soon the checkbox gets clicked..  but unfortunately it only updates the value (true or false) when another Cell or Row is selected. Any ideas how to fix this?

Thanks