From 60a4c37b897cf02993f2fed478d9065b60e3258c Mon Sep 17 00:00:00 2001 From: GuhanathanRamanathaN Date: Tue, 18 Nov 2025 17:26:01 +0530 Subject: [PATCH 1/3] 993722: Resolved conflicts in datagrid --- blazor/datagrid/searching.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/blazor/datagrid/searching.md b/blazor/datagrid/searching.md index a7ef3f9f4a..7d3644cc85 100644 --- a/blazor/datagrid/searching.md +++ b/blazor/datagrid/searching.md @@ -213,6 +213,7 @@ The following example demonstrates how to set the `SearchSettings.Operator` prop {% tabs %} {% highlight razor tabtitle="Index.razor" %} +@using Syncfusion.Blazor @using Syncfusion.Blazor.Grids @using Syncfusion.Blazor.DropDowns @@ -223,6 +224,7 @@ The following example demonstrates how to set the `SearchSettings.Operator` prop + @@ -246,14 +248,6 @@ The following example demonstrates how to set the `SearchSettings.Operator` prop public Operator Value { get; set; } } - public enum Operator - { - StartsWith, - EndsWith, - Contains, - Equal - } - List DropDownData = new List { new DropDownOrder(){Text="StartsWith",Value= Operator.StartsWith }, @@ -316,7 +310,7 @@ The following example demonstrates how to set the `SearchSettings.Operator` prop {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/hZBgCXKXMPQpCngI?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtheMWibUKtkPFVK?appbar=true&editor=true&result=true&errorlist=true&theme=bootstrap5" %} ## Search by external button From dfaed8407cde211fcd0ba279ed3b1f86e9244c84 Mon Sep 17 00:00:00 2001 From: GuhanathanRamanathaN Date: Wed, 19 Nov 2025 12:31:28 +0530 Subject: [PATCH 2/3] 993969: Update the documentation Editing Complex column underscore mistake --- blazor/datagrid/editing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blazor/datagrid/editing.md b/blazor/datagrid/editing.md index 828ef4c7cf..b915fecb64 100644 --- a/blazor/datagrid/editing.md +++ b/blazor/datagrid/editing.md @@ -765,9 +765,9 @@ The [EditTemplate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids To customize the default Grid EditForm input component, you can define an `EditTemplate` inside the GridColumn for the complex field. You can edit complex objects using `EditTemplate` by defining two-way (**@bind-Value**) binding inside the GridColumn to reflect changes in the DataGrid. -For focus management and validation to work properly, you must set the `ID` attribute of the input elements inside the `EditTemplate` to match the [Field](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.GridColumn.html#Syncfusion_Blazor_Grids_GridColumn_Field) value of the corresponding GridColumn. When dealing with complex fields, use a double underscore `(__)` in place of the dot `(.)` operator. For example, if the field is **Name.FirstName**, set the `ID` as **Name__FirstName**. +For focus management and validation to work properly, you must set the `ID` attribute of the input elements inside the `EditTemplate` to match the [Field](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.GridColumn.html#Syncfusion_Blazor_Grids_GridColumn_Field) value of the corresponding GridColumn. When dealing with complex fields, use a Triple underscore `(___)` in place of the dot `(.)` operator. For example, if the field is **Name.FirstName**, set the `ID` as **Name__FirstName**. -> Ensure that both `ID` and `Name` attributes inside the `EditTemplate` follow this double underscore (__) format to avoid issues with validation and focus handling. +> Ensure that both `ID` and `Name` attributes inside the `EditTemplate` follow this Triple underscore (___) format to avoid issues with validation and focus handling. In the following example, the input element is rendered in the edit template of the FirstName and LastName columns. The edited changes can be saved using the `Name` property of the input element. Since the complex data is bound to the FirstName and LastName columns, the `Name` property should be defined as **Name__FirstName** and **Name__LastName**, respectively, instead of using the dot notation (**Name.FirstName** and **Name.LastName**). From 40e5a22909ebea8b3afe2f8a5f92b91a632fc92e Mon Sep 17 00:00:00 2001 From: GuhanathanRamanathaN Date: Wed, 19 Nov 2025 12:53:41 +0530 Subject: [PATCH 3/3] 993969: Resolve the underscore changes --- blazor/datagrid/editing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blazor/datagrid/editing.md b/blazor/datagrid/editing.md index b915fecb64..684947b52a 100644 --- a/blazor/datagrid/editing.md +++ b/blazor/datagrid/editing.md @@ -765,11 +765,11 @@ The [EditTemplate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids To customize the default Grid EditForm input component, you can define an `EditTemplate` inside the GridColumn for the complex field. You can edit complex objects using `EditTemplate` by defining two-way (**@bind-Value**) binding inside the GridColumn to reflect changes in the DataGrid. -For focus management and validation to work properly, you must set the `ID` attribute of the input elements inside the `EditTemplate` to match the [Field](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.GridColumn.html#Syncfusion_Blazor_Grids_GridColumn_Field) value of the corresponding GridColumn. When dealing with complex fields, use a Triple underscore `(___)` in place of the dot `(.)` operator. For example, if the field is **Name.FirstName**, set the `ID` as **Name__FirstName**. +For focus management and validation to work properly, you must set the `ID` attribute of the input elements inside the `EditTemplate` to match the [Field](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.GridColumn.html#Syncfusion_Blazor_Grids_GridColumn_Field) value of the corresponding GridColumn. When dealing with complex fields, use a Triple underscore `(___)` in place of the dot `(.)` operator. For example, if the field is **Name.FirstName**, set the `ID` as **Name___FirstName**. > Ensure that both `ID` and `Name` attributes inside the `EditTemplate` follow this Triple underscore (___) format to avoid issues with validation and focus handling. -In the following example, the input element is rendered in the edit template of the FirstName and LastName columns. The edited changes can be saved using the `Name` property of the input element. Since the complex data is bound to the FirstName and LastName columns, the `Name` property should be defined as **Name__FirstName** and **Name__LastName**, respectively, instead of using the dot notation (**Name.FirstName** and **Name.LastName**). +In the following example, the input element is rendered in the edit template of the FirstName and LastName columns. The edited changes can be saved using the `Name` property of the input element. Since the complex data is bound to the FirstName and LastName columns, the `Name` property should be defined as **Name___FirstName** and **Name___LastName**, respectively, instead of using the dot notation (**Name.FirstName** and **Name.LastName**). {% tabs %} {% highlight razor tabtitle="Index.razor" %}