We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridDataControl and Checkbox Column

Thread ID:





108833 May 14,2013 08:02 PM UTC May 22,2013 11:59 AM UTC WPF 1
Tags: GridControl
Sulma Pedraza
Asked On May 14, 2013 08:02 PM UTC

I have a griddatacontrol with a checkbox column.  I use the MVVM pattern.  The itemssource property of the GridDataControl is set with a binding to an ICollectionView en el ViewModel.  The checkbox column is mapped to a boolean property of the elements from the ICollectionView.  The problem is that when I checked some checkboxes from the grid's elements, the ICollectionView in the ViewModel just recognizes from the second element (that were checked) onwards.  The first element is checked but the ViewModel doesn't recognize it.  I have been doing many tests and I think that the ViewModel doesn´t capture the check event in the row that is selected.
Would you please help me?

Divya A [Syncfusion]
Replied On May 22, 2013 11:59 AM UTC

Hi Sulma,


We have analyzed the reported issue. Please ensure whether you have enabled UpdateMode as PropertyChanged. When this API is enabled the changes in Grid will be reflected to the underlying collection spontaneously.



Code Snippet:


  <syncfusion:GridDataControl x:Name="datagrid"




                                    UpdateMode="PropertyChanged" />






This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon