From ba25beacbb2fdccddccfb2fa0713eee31d75f5f9 Mon Sep 17 00:00:00 2001 From: PooraniSF4929 Date: Fri, 10 Apr 2026 12:19:55 +0530 Subject: [PATCH 1/2] ES_1018253: Added note about Uri sorting limitation in SfDataGrid documentation --- wpf/DataGrid/Sorting.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wpf/DataGrid/Sorting.md b/wpf/DataGrid/Sorting.md index af4a68115..d758144bc 100644 --- a/wpf/DataGrid/Sorting.md +++ b/wpf/DataGrid/Sorting.md @@ -51,6 +51,8 @@ N> The [GridColumn.AllowSorting](https://help.syncfusion.com/cr/wpf/Syncfusion.U End users can sort the column by clicking column header cell. Once the columns get sorted, the sort indicator will be displayed on the right side of the column header. +N> Sorting is not supported for `GridHyperLinkColumn` when the bound property type is `Uri`, since [`System.Uri`](https://learn.microsoft.com/dotnet/api/system.uri) does not implement [`IComparable`](https://learn.microsoft.com/dotnet/api/system.icomparable). If sorting is required, a custom comparison logic based on a comparable value should be used. + ![Sorting in WPF DataGrid](Sorting_images/wpf-datagrid-sorting.png) From bc738160563fe60d7a71a634e1b3cc03d4578d94 Mon Sep 17 00:00:00 2001 From: PooraniSF4929 Date: Fri, 10 Apr 2026 13:23:29 +0530 Subject: [PATCH 2/2] Fix docs links for Uri and IComparable to avoid CI redirect errors --- wpf/DataGrid/Sorting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpf/DataGrid/Sorting.md b/wpf/DataGrid/Sorting.md index d758144bc..62b4a9e3a 100644 --- a/wpf/DataGrid/Sorting.md +++ b/wpf/DataGrid/Sorting.md @@ -51,7 +51,7 @@ N> The [GridColumn.AllowSorting](https://help.syncfusion.com/cr/wpf/Syncfusion.U End users can sort the column by clicking column header cell. Once the columns get sorted, the sort indicator will be displayed on the right side of the column header. -N> Sorting is not supported for `GridHyperLinkColumn` when the bound property type is `Uri`, since [`System.Uri`](https://learn.microsoft.com/dotnet/api/system.uri) does not implement [`IComparable`](https://learn.microsoft.com/dotnet/api/system.icomparable). If sorting is required, a custom comparison logic based on a comparable value should be used. +N> Sorting is not supported for `GridHyperLinkColumn` when the bound property type is `Uri`, since [`System.Uri`](https://learn.microsoft.com/en-us/dotnet/api/system.uri?view=net-10.0) does not implement [`IComparable`](https://learn.microsoft.com/en-us/dotnet/api/system.icomparable?view=net-10.0). If sorting is required, a custom comparison logic based on a comparable value should be used. ![Sorting in WPF DataGrid](Sorting_images/wpf-datagrid-sorting.png)