Dear,
I have a Syncfusion.UI.Xaml.Grid.SfDataGrid (17.3.0.14) with SelectedItem="{Binding CurrentTask}" and ItemSource="{Binding Source={StaticResource TaskViewSource}}" set in XAML.
In code-behind, when something changes to the CurrentTask, I first save the ID of the CurrentTask in CurrentTaskID and save the modified task to the context. Then I reload the ItemSource (by doing TaskViewSource.Source = Context.Tasks.Local and TaskViewSource.View.Refresh() ), and reset CurrentTask to the task previously selected (CurrentTask = DataContext.Find(CurrentTaskI).First() ).
However, after doing this on a filtered DataGrid, the SelectedItem is not highlighted anymore. On the other hand, when doing this on a non-filtered DataGrid it is working fine.
What can I do to solve this?
Thanks,
Koen