Last Updated: 18 Nov 2019 17:55 by ADMIN
Created on: 13 Nov 2019 20:28
Category: DataGrid
Type: Bug Report
Update checkbox on row details, first item and all check boxes for the row details first item is checked. It should only check on that one item.

In the RowDetails for a grid item I have a data template column as below.  If I check the checkbox on the first rowdetails item, every first rowdetails item in the entire grid has the check box checked.  Even if the SentToAcctFlag value for that item is False.  If I check one item in the row details I want only that one item to be checked.  Even refreshing the grid data using ItemsSource does not remove the first rowdetails item checked value for each parent record.


                                        <telerikGrid:DataGridTemplateColumn Header="To Acct" HeaderStyle="{StaticResource WorkOrderGridColHeader}" SizeMode="Fixed" Width="100"
                                                        CanUserEdit="True" CanUserSort="False" CanUserFilter="False" CanUserResize="False"  >
                                            <telerikGrid:DataGridTemplateColumn.CellContentTemplate >
                                                    <CheckBox IsChecked="{Binding SentToAcctFlag}" Margin="12,1,0,0" IsEnabled="True" Checked="SentToAcct_Checked" Unchecked="SentToAcct_Unchecked" />

Posted on: 18 Nov 2019 16:13

You are exactly right I was able to resolve the problem by fixing my binding syntax.  I was going to post a comment last week but could not figure out how to access my initial request.


Thank you for the quick response. 

Posted on: 18 Nov 2019 15:47

Hello Bob,

What comes to my mind is to use TwoWay binding of the IsChecked property and to ensure the data item implements properly INotifyPropertyChanged interface. 

If that is setup correctly, please send us more details on the scenario you have ( event handlers, data item class, etc), as I didn't manage to reproduce such an issue with a basic DataGrid setup.

I am looking forward to your reply.

Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items