From 3df590c9a9c8850d2dd9f44d8021ad38f6da83c7 Mon Sep 17 00:00:00 2001 From: Naveen S P Date: Mon, 20 Apr 2026 07:54:01 +0530 Subject: [PATCH 1/3] Documentation(1018417): Diacritics filter --- blazor/datagrid/filtering.md | 79 ++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/blazor/datagrid/filtering.md b/blazor/datagrid/filtering.md index 87671a2bc3..d1fa93c28e 100644 --- a/blazor/datagrid/filtering.md +++ b/blazor/datagrid/filtering.md @@ -505,6 +505,85 @@ The **Like** filter processes single search patterns using the % symbol t ![Blazor DataGrid with like operator filtering](./images/blazor-datagrid-like-operator-filtering.gif) +## Diacritics filter + +The diacritics filter feature in the Syncfusion® Blazor DataGrid is useful when working with text data that includes accented characters (diacritic characters). By default, the Grid ignores these characters during filtering. However, if you need to consider diacritic characters in your filtering process, you can disable this behavior by setting the `IgnoreAccent` property to false using the [GridFilterSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_FilterSettings). + +Consider the following sample where the `IgnoreAccent` property is set to false in order to consider diacritic characters in the filtering process: + +{% tabs %} +{% highlight razor tabtitle="Index.razor" %} + +@using Syncfusion.Blazor.Grids + + + + + + + + + + + +@code { + public List GridData { get; set; } + + protected override void OnInitialized() + { + GridData = OrderData.GetAllRecords(); + } + +} + +{% endhighlight %} + +{% highlight c# tabtitle="OrderData.cs" %} + +public class OrderData +{ + public static List Orders = new List(); + + public OrderData() { } + + public OrderData(int EmployeeID, string Name, string CustomerID, string ShipName) + { + this.EmployeeID = EmployeeID; + this.Name = Name; + this.CustomerID = CustomerID; + this.ShipName = ShipName; + } + + public static List GetAllRecords() + { + if (Orders.Count == 0) + { + Orders.Add(new OrderData(1, "Aeróbics", "VINET", "Vins et alcools Chevalier")); + Orders.Add(new OrderData(2, "Aerógrafía en Agua", "TOMSP", "Toms SpezialitAiten")); + Orders.Add(new OrderData(3, "Aerografía", "TAMSP", "Suprames dalices")); + Orders.Add(new OrderData(4, "Aeromodelaje", "HANAA", "Ottilies Kaseladen")); + Orders.Add(new OrderData(5, "Águilas", "VICTE", "Centro comercial Moctezuma")); + Orders.Add(new OrderData(6, "Álbumes de Delta", "HANAR", "Que Delacia")); + Orders.Add(new OrderData(7, "Álbumes de Música", "SUPRD", "Ernst Handel")); + Orders.Add(new OrderData(8, "Alusivos", "CHOPS", "Richter Supermarkt")); + Orders.Add(new OrderData(9, "Aerografía", "RICSU", "Wellington")); + Orders.Add(new OrderData(10, "Análisis de Escritura a Mano", "WELLI", "Victuailles")); + } + return Orders; + } + + public int EmployeeID { get; set; } + public string Name { get; set; } + public string CustomerID { get; set; } + public string ShipName { get; set; } +} + +{% endhighlight %} +{% endtabs %} + +{% previewsample "https://blazorplayground.syncfusion.com/embed/BtrHZTrtDPVkNzGK?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} + + ## Filtering with case sensitivity The Syncfusion® Blazor DataGrid provides the flexibility to enable or disable case sensitivity during filtering. This feature allows control over whether filtering operations should consider character casing. Case sensitivity can be configured using the [EnableCaseSensitivity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.GridFilterSettings.html#Syncfusion_Blazor_Grids_GridFilterSettings_EnableCaseSensitivity) property of [GridFilterSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_FilterSettings)configuration. From 1a08f09cc7f79e7ee866900b8ed4a413bac2fea6 Mon Sep 17 00:00:00 2001 From: Naveen S P Date: Fri, 24 Apr 2026 07:33:28 +0530 Subject: [PATCH 2/3] Documentation(1018417): Diacritics filter --- blazor/datagrid/filtering.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/blazor/datagrid/filtering.md b/blazor/datagrid/filtering.md index d1fa93c28e..629a820957 100644 --- a/blazor/datagrid/filtering.md +++ b/blazor/datagrid/filtering.md @@ -507,9 +507,13 @@ The **Like** filter processes single search patterns using the % symbol t ## Diacritics filter -The diacritics filter feature in the Syncfusion® Blazor DataGrid is useful when working with text data that includes accented characters (diacritic characters). By default, the Grid ignores these characters during filtering. However, if you need to consider diacritic characters in your filtering process, you can disable this behavior by setting the `IgnoreAccent` property to false using the [GridFilterSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_FilterSettings). +The diacritics filter feature handles text data that includes accented characters. Diacritics are accent marks added to letters (examples: é, ñ, ü, ç). By default, the grid ignores these characters during filtering. -Consider the following sample where the `IgnoreAccent` property is set to false in order to consider diacritic characters in the filtering process: +This feature is essential for international data where names like “José” and “Jose” should be treated differently (or the same, depending on requirements). + +Enable diacritic character consideration by setting the `IgnoreAccent` property to **true** using the [GridFilterSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_FilterSettings). + +The following example demonstrates diacritics filtering with the `IgnoreAccent` property set to **true**: {% tabs %} {% highlight razor tabtitle="Index.razor" %} @@ -517,7 +521,7 @@ Consider the following sample where the `IgnoreAccent` property is set to false @using Syncfusion.Blazor.Grids - + @@ -581,7 +585,7 @@ public class OrderData {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/BtrHZTrtDPVkNzGK?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rDBxXJVJDcKLCWHR?appbar=false&editor=false&result=true&errorlist=false&theme=fluent2" %} ## Filtering with case sensitivity From aeead45f0df40608b8421325484ba05cfa9d5f5d Mon Sep 17 00:00:00 2001 From: Naveen S P Date: Fri, 24 Apr 2026 10:24:09 +0530 Subject: [PATCH 3/3] Documentation(1018417): Diacritics filter --- blazor/datagrid/filtering.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blazor/datagrid/filtering.md b/blazor/datagrid/filtering.md index 629a820957..c7718665b0 100644 --- a/blazor/datagrid/filtering.md +++ b/blazor/datagrid/filtering.md @@ -511,7 +511,7 @@ The diacritics filter feature handles text data that includes accented character This feature is essential for international data where names like “José” and “Jose” should be treated differently (or the same, depending on requirements). -Enable diacritic character consideration by setting the `IgnoreAccent` property to **true** using the [GridFilterSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_FilterSettings). +To ensure diacritic characters are considered during filtering, set the `IgnoreAccent` property to **true** using [GridFilterSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_FilterSettings). The following example demonstrates diacritics filtering with the `IgnoreAccent` property set to **true**: