The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I have SfDataGrid bound to DataTable with AutoGenerateColumns="True". I need to define custom sort comparer for string columns (to suport natural sorting).
Converting DataTable to dynamic objects does the trick.
FPFarjana Parveen Ayubb Syncfusion Team October 24, 2019 05:32 AM UTC
Hi Ondrej,
Thanks for the update.
We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you.
Regards,
Farjana Parveen A
JOJohnesFebruary 24, 2022 02:22 PM UTC
Hello Ondrej
please can you explain how dynamic objects can to support natural sorting on Sfdatagrid?
I have the same question but still don't know how dynamic objects can help.
OSOndrej SvobodaFebruary 24, 2022 04:25 PM UTC
Custom sort comparers are not allowed for DataTable source. So you need to first convert DataTable to dynamic objects to be able to use custom sort comparers.