Column sorting not updating

Hi, 

I'm having an issue with my SfDataGrid in WPF.
I'm sorting data with a SortCulumnDescription.
But the sorted column data is updated after the grid is populated.

My problem is: when i update the data, the data set order isn't updated.



Thanks for your help !
(if you need me to rephrase my problem i can, I'm french so it's a bit difficult for me)

1 Reply 1 reply marked as answer

VS Vijayarasan Sivanandham Syncfusion Team November 4, 2020 06:17 AM UTC

Hi Florian, 
Thanks for using Syncfusion controls.

SfDataGrid listens and responds to the manipulation operations such as add, delete and data update (property change) at runtime. DataGrid refresh the sorting, filtering, grouping and summaries based on SfDataGrid.LiveDataUpdateMode property. Please refer the below code snippet, 
<syncfusion:SfDataGrid x:Name="sfDataGrid"                                
                               ItemsSource="{Binding Orders}" 
                               AllowEditing="True"                                
                               LiveDataUpdateMode="AllowDataShaping"/> 
Regards,
Vijayarasan S 


Marked as answer
Loader.
Up arrow icon