From 351907d1cbcd1c39e9d044d517182e516169a817 Mon Sep 17 00:00:00 2001 From: GuhanathanRamanathaN Date: Wed, 19 Nov 2025 16:18:03 +0530 Subject: [PATCH 1/3] 993969 :Ug Data grid --- blazor/datagrid/editing.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blazor/datagrid/editing.md b/blazor/datagrid/editing.md index 828ef4c7cf..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 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**). +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" %} From 84ed740042c2678702c61d5cc9788fd606a189d2 Mon Sep 17 00:00:00 2001 From: GuhanathanRamanathaN Date: Wed, 19 Nov 2025 16:28:21 +0530 Subject: [PATCH 2/3] 993869:Resolve Conflicts --- 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 7e8634583cd40dd9a7500aad9ab885aa37af7981 Mon Sep 17 00:00:00 2001 From: GuhanathanRamanathaN Date: Wed, 19 Nov 2025 16:34:09 +0530 Subject: [PATCH 3/3] 993969: resolved comments --- 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 684947b52a..ba5d8f095d 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 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. +> 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**).