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

SelectedItem binding bug

Thread ID:





121806 Jan 27,2016 12:02 PM UTC Jan 28,2016 12:33 PM UTC WPF 1
Tags: SfDataGrid
Catalin Pop
Asked On January 27, 2016 12:02 PM UTC

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?

Ambarish Srinivasan [Syncfusion]
Replied On 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.



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

or the page will be automatically redirected to 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