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. Image for the cookie policy date

SelectedItem binding bug

I'm experiencing a weird behaviour of the SfDataGrid control when using the SelectedItem property.
My XAML looks like this:

<Syncfusion:SfDataGrid ItemsSource="{Binding Clienti}"
                               SelectedItem="{Binding SelectedClient}"

The property that I bind to gets updated the first time I select a row in the grid, but any subsequent selections are ignored.
If I place a brakpoint in the setter of the property I'm binding to, the "value" is always the first item that I select, regardless of the actual Item that I select in the grid.
This problem goes away when I use a simple DataGrid instead of Syncfusion:SfDataGrid.

Any ideas?

1 Reply

AS Ambarish Srinivasan Syncfusion Team January 28, 2016 12:33 PM UTC

Hi Catalin,

We have checked in our side and SelectedItem binding works as expected. Find the sample which we have used for testing.

Please update us with modified sample to reproduce the problem.


Live Chat Icon For mobile
Up arrow icon