diff --git a/blazor/datagrid/column-validation.md b/blazor/datagrid/column-validation.md index 5467bc8e39..c3bbab87c4 100644 --- a/blazor/datagrid/column-validation.md +++ b/blazor/datagrid/column-validation.md @@ -220,6 +220,8 @@ In the following sample, you must use the `ValidateComplexType` attribute for th } ``` +> To include the package **Microsoft.AspNetCore.Components.DataAnnotations.Validation** for complex type validation + ![Validate Complex Column Using Data Annotation Attribute in Blazor DataGrid](./images/blazor-datagrid-validate-complex-column-using-data-annotation-attribute.gif) ## Custom validator component diff --git a/blazor/datagrid/custom-aggregate.md b/blazor/datagrid/custom-aggregate.md index 9942754026..640f70b2ca 100644 --- a/blazor/datagrid/custom-aggregate.md +++ b/blazor/datagrid/custom-aggregate.md @@ -74,12 +74,11 @@ Here’s an example that demonstrates how to use the custom aggregate feature in { } - public OrderData(int? OrderID, string CustomerID, string ShipCountry, DateTime OrderDate, double Freight) + public OrderData(int? OrderID, string CustomerID, string ShipCountry, double Freight) { this.OrderID = OrderID; this.CustomerID = CustomerID; this.ShipCountry = ShipCountry; - this.OrderDate = OrderDate; this.Freight = Freight; } diff --git a/blazor/datagrid/data-annotation.md b/blazor/datagrid/data-annotation.md index 76c73d2688..06d469eb04 100644 --- a/blazor/datagrid/data-annotation.md +++ b/blazor/datagrid/data-annotation.md @@ -39,6 +39,8 @@ The following sample code demonstrates data annotations implemented in the DataG ```cshtml @using Syncfusion.Blazor.Grids +@using Syncfusion.Blazor.DropDowns +@using System.Reflection @using System.ComponentModel.DataAnnotations; diff --git a/blazor/datagrid/print.md b/blazor/datagrid/print.md index 53688acbd0..d257fb6879 100644 --- a/blazor/datagrid/print.md +++ b/blazor/datagrid/print.md @@ -20,7 +20,7 @@ To add the printing option to the grid’s Toolbar, simply include the [Toolbar] @using Syncfusion.Blazor.Grids @using BlazorApp1.Data - + diff --git a/blazor/datagrid/scrolling.md b/blazor/datagrid/scrolling.md index 4360ebc70b..2fa7aca556 100644 --- a/blazor/datagrid/scrolling.md +++ b/blazor/datagrid/scrolling.md @@ -300,7 +300,7 @@ The following demo shows how to change the default frozen line color. background-color: aqua; } - .e-grid .e-leftfreeze.e-freezeleftborder { + .e-grid.e-lib .e-leftfreeze.e-freezeleftborder{ border-right-color: aqua; } diff --git a/blazor/datagrid/searching.md b/blazor/datagrid/searching.md index 282f9650df..cd3784ca9c 100644 --- a/blazor/datagrid/searching.md +++ b/blazor/datagrid/searching.md @@ -246,6 +246,14 @@ 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 },