From 8d69368a0efdbb688b42c3ae142b692f3b8a820c Mon Sep 17 00:00:00 2001 From: Barath Aravind K Date: Fri, 12 Sep 2025 12:48:00 +0530 Subject: [PATCH 1/2] 978251: Update UG Documentation for PersistGroupState and Tooltip feature --- blazor/datagrid/cell.md | 25 ++++++++++++------------- blazor/datagrid/grouping.md | 16 ++++++++-------- 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/blazor/datagrid/cell.md b/blazor/datagrid/cell.md index fbff0401e9..73c18fc6f5 100644 --- a/blazor/datagrid/cell.md +++ b/blazor/datagrid/cell.md @@ -812,15 +812,15 @@ public class OrderData { if (Orders.Count() == 0) { - Orders.Add(new OrderData(10248, "VINET", new DateTime(2025, 07, 07), 32.38)); - Orders.Add(new OrderData(10249, "TOMSP", new DateTime(2025, 07, 07), 92.38)); - Orders.Add(new OrderData(10250, "HANAR", new DateTime(2025, 07, 07), 62.77)); - Orders.Add(new OrderData(10251, "VICTE", new DateTime(2025, 07, 07), 12.38)); - Orders.Add(new OrderData(10252, "SUPRD", new DateTime(2025, 07, 07), 82.38)); - Orders.Add(new OrderData(10253, "CHOPS", new DateTime(2025, 07, 07), 31.31)); - Orders.Add(new OrderData(10254, "RICSU", new DateTime(2025, 07, 07), 22.37)); - Orders.Add(new OrderData(10255, "WELLI", new DateTime(2025, 07, 07), 44.34)); - Orders.Add(new OrderData(10256, "RICSU", new DateTime(2025, 07, 07), 31.33)); + Orders.Add(new OrderData(10248, "VINET", new DateTime(2025, 08, 01), 32.38)); + Orders.Add(new OrderData(10249, "TOMSP", new DateTime(2025, 04, 30), 92.38)); + Orders.Add(new OrderData(10250, "HANAR", new DateTime(2025, 07, 26), 62.77)); + Orders.Add(new OrderData(10251, "VICTE", new DateTime(2025, 07, 09), 12.38)); + Orders.Add(new OrderData(10252, "SUPRD", new DateTime(2025, 05, 07), 82.38)); + Orders.Add(new OrderData(10253, "CHOPS", new DateTime(2025, 07, 10), 31.31)); + Orders.Add(new OrderData(10254, "RICSU", new DateTime(2025, 01, 22), 22.37)); + Orders.Add(new OrderData(10255, "WELLI", new DateTime(2025, 03, 17), 44.34)); + Orders.Add(new OrderData(10256, "RICSU", new DateTime(2025, 07, 20), 31.33)); } return Orders; } @@ -833,7 +833,7 @@ public class OrderData {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/LXBSNYMiAEMphkRe?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/rtBoZEshhfHlMplf?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ### Tooltip template @@ -855,7 +855,7 @@ The following sample demonstrates a custom tooltip implementation using the `Too @using Syncfusion.Blazor.Grids - + @{ @@ -994,7 +994,6 @@ public class OrdersDetails Orders.Add (new OrdersDetails (1006, "Michael", 220, DateTime.Now.AddDays(-6), "Tokyo", "Japan", "Delivered", "Japan", "michael@example.com")); Orders.Add (new OrdersDetails (1007, "Robert", 90, DateTime.Now.AddDays(-7), "Toronto", "Canada", "Cancelled", "Canada", "robert@example.com")); Orders.Add (new OrdersDetails (1008, "Laura", 160, DateTime.Now.AddDays(1), "Sydney", "Australia", "Pending", "Australia", "laura@example.com")); - Orders.Add (new OrdersDetails (1009, "Anne", 90, DateTime.Now.AddDays(-9), "Reims", "France", "Delivered", "France", "anne@example.com")); } return Orders; } @@ -1013,7 +1012,7 @@ public class OrdersDetails {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/rtBItaiifNQmMncI?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VXVetYCVBodvFKAO?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} > By default, custom tooltips will be displayed if the `ShowTooltip` property is set to **true**. diff --git a/blazor/datagrid/grouping.md b/blazor/datagrid/grouping.md index b904838190..7003cad056 100644 --- a/blazor/datagrid/grouping.md +++ b/blazor/datagrid/grouping.md @@ -478,11 +478,11 @@ The Syncfusion Blazor DataGrid offers the ability to persist the expand or colla
- +
- - + + @@ -494,8 +494,8 @@ The Syncfusion Blazor DataGrid offers the ability to persist the expand or colla @code { public List GridData { get; set; } - private bool IsPersist { get; set; } = true; - private string[] Initial = (new string[] { "CustomerID", "ShipCity" }); + private bool IsGroupStatePersistent { get; set; } = true; + private string[] Initial = new string[] { "CustomerID", "ShipCity" }; protected override void OnInitialized() { @@ -506,11 +506,11 @@ The Syncfusion Blazor DataGrid offers the ability to persist the expand or colla { if (args.Checked == true) { - IsPersist = true; + IsGroupStatePersistent = true; } else { - IsPersist = false; + IsGroupStatePersistent = false; } } } @@ -564,7 +564,7 @@ public class OrderData {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjrotYiMzstTQygM?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/VjroZksVrfLQZJeA?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Sort grouped columns in descending order during initial grouping From e1b4e4bde61fc3b9828cee693562944c098aca7a Mon Sep 17 00:00:00 2001 From: Barath Aravind K Date: Fri, 12 Sep 2025 13:03:12 +0530 Subject: [PATCH 2/2] 978251: Changed variable names --- blazor/datagrid/grouping.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/blazor/datagrid/grouping.md b/blazor/datagrid/grouping.md index 7003cad056..743d522c3a 100644 --- a/blazor/datagrid/grouping.md +++ b/blazor/datagrid/grouping.md @@ -482,7 +482,7 @@ The Syncfusion Blazor DataGrid offers the ability to persist the expand or colla - + @@ -494,8 +494,8 @@ The Syncfusion Blazor DataGrid offers the ability to persist the expand or colla @code { public List GridData { get; set; } - private bool IsGroupStatePersistent { get; set; } = true; - private string[] Initial = new string[] { "CustomerID", "ShipCity" }; + private bool IsGroupStatePersistent { get; set; } = true; + private string[] InitialGroupedColumns = new string[] { "CustomerID", "ShipCity" }; protected override void OnInitialized() { @@ -506,11 +506,11 @@ The Syncfusion Blazor DataGrid offers the ability to persist the expand or colla { if (args.Checked == true) { - IsGroupStatePersistent = true; + IsGroupStatePersistent = true; } else { - IsGroupStatePersistent = false; + IsGroupStatePersistent = false; } } } @@ -564,7 +564,7 @@ public class OrderData {% endhighlight %} {% endtabs %} -{% previewsample "https://blazorplayground.syncfusion.com/embed/VjroZksVrfLQZJeA?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} +{% previewsample "https://blazorplayground.syncfusion.com/embed/hZVINYihrdGfllLS?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %} ## Sort grouped columns in descending order during initial grouping