From 0da70107c77d288802e4e3bfc143e4da23ecf96e Mon Sep 17 00:00:00 2001
From: vikramsundarajan <129823420+vikramsundarajan@users.noreply.github.com>
Date: Wed, 7 May 2025 09:06:23 +0530
Subject: [PATCH 1/2] 956732: Review the revamped topics
---
blazor/datagrid/aggregates.md | 12 +-
blazor/datagrid/custom-aggregate.md | 8 +-
blazor/datagrid/custom-toolbar.md | 30 ++--
blazor/datagrid/footer-aggregate.md | 10 +-
.../datagrid/group-and-caption-aggregate.md | 12 +-
blazor/datagrid/paging.md | 152 +++++-------------
blazor/datagrid/performance.md | 53 +++---
blazor/datagrid/print.md | 18 +--
blazor/datagrid/reactive-aggregate.md | 11 +-
blazor/datagrid/tool-bar.md | 14 +-
blazor/datagrid/toolbar-items.md | 22 +--
11 files changed, 134 insertions(+), 208 deletions(-)
diff --git a/blazor/datagrid/aggregates.md b/blazor/datagrid/aggregates.md
index a480d7893f..0701b9bcb5 100644
--- a/blazor/datagrid/aggregates.md
+++ b/blazor/datagrid/aggregates.md
@@ -7,13 +7,13 @@ control: DataGrid
documentation: ug
---
-# Aggregates in Blazor DataGrid Component
+# Aggregates in Blazor DataGrid
-The Aggregates feature in the Syncfusion® Blazor Grid component allows you to display aggregate values in the footer, group footer, and group caption of the grid. With this feature, you can easily perform calculations on specific columns and show summary information.This feature can be configured using the **GridAggregates** component.To represent an aggregate column, you need to specify the minimum required properties, such as [Field](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.GridAggregateColumn.html#Syncfusion_Blazor_Grids_GridAggregateColumn_Field) and [Type](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.GridAggregateColumn.html#Syncfusion_Blazor_Grids_GridAggregateColumn_Type).
+The Aggregates feature in the Syncfusion Blazor DataGrid allows you to display aggregate values in the footer, group footer, and group caption of the Grid. With this feature, you can easily perform calculations on specific columns and show summary information.This feature can be configured using the **GridAggregates** component.To represent an aggregate column, you need to specify the minimum required properties, such as [Field](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.GridAggregateColumn.html#Syncfusion_Blazor_Grids_GridAggregateColumn_Field) and [Type](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.GridAggregateColumn.html#Syncfusion_Blazor_Grids_GridAggregateColumn_Type).
**Displaying aggregate values**
-By default, the aggregate values are displayed in the footer, group, and caption cells of the grid. However, you can choose to display the aggregate value in any of these cells by using the following properties:
+By default, the aggregate values are displayed in the footer, group, and caption cells of the Grid. However, you can choose to display the aggregate value in any of these cells by using the following properties:
* [FooterTemplate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.GridAggregateColumn.html#Syncfusion_Blazor_Grids_GridAggregateColumn_FooterTemplate): Use this property to display the aggregate value in the footer cell. You can define a custom template to format the aggregate value as per your requirements.
@@ -128,12 +128,12 @@ By default, the aggregate values are displayed in the footer, group, and caption
{% previewsample "https://blazorplayground.syncfusion.com/embed/hZrACXUDUeyrfGOs?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
-> * When using local data, the total summary is calculated based on the entire dataset available in the grid. The aggregate values will reflect calculations across all the rows in the grid.
+> * When using local data, the total summary is calculated based on the entire dataset available in the Grid. The aggregate values will reflect calculations across all the rows in the Grid.
> * When working with remote data, the total summary is calculated based on the current page records. This means that if you have enabled pagination and are displaying data in pages, the aggregate values in the footer will represent calculations only for the visible page.
## Built-in aggregate types
-The Syncfusion® Blazor Grid component provides several built-in aggregate types that can be specified in the [Type](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.GridAggregateColumn.html#Syncfusion_Blazor_Grids_GridAggregateColumn_Type) property to configure an aggregate column.
+The Syncfusion Blazor DataGrid provides several built-in aggregate types that can be specified in the [Type](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.GridAggregateColumn.html#Syncfusion_Blazor_Grids_GridAggregateColumn_Type) property to configure an aggregate column.
The available built-in aggregate types are :
@@ -146,7 +146,7 @@ The available built-in aggregate types are :
* **TrueCount:** Counts the number of true values in the column.
* **FalseCount:** Counts the number of false values in the column.
-Here is an example that demonstrates how to use built-in aggregates types in the Syncfusion® Grid:
+Here is an example that demonstrates how to use built-in aggregates types in the Grid:
{% tabs %}
{% highlight razor tabtitle="Index.razor" %}
diff --git a/blazor/datagrid/custom-aggregate.md b/blazor/datagrid/custom-aggregate.md
index 640f70b2ca..2bdf9ed7a4 100644
--- a/blazor/datagrid/custom-aggregate.md
+++ b/blazor/datagrid/custom-aggregate.md
@@ -7,9 +7,9 @@ control: DataGrid
documentation: ug
---
-# Custom aggregate in Blazor Grid component
+# Custom aggregate in Blazor DataGrid
-The custom aggregate feature in Syncfusion’s Blazor Grid component allows you to calculate aggregate values using your own aggregate function. This feature can be useful in scenarios where the built-in aggregate functions do not meet your specific requirements. To use the custom aggregate option, follow the steps below:
+The custom aggregate feature in Syncfusion’s Blazor DataGrid allows you to calculate aggregate values using your own aggregate function. This feature can be useful in scenarios where the built-in aggregate functions do not meet your specific requirements. To use the custom aggregate option, follow the steps below:
* Set the **AggregateType** as Custom in **GridAggregateColumn** component.
@@ -21,7 +21,7 @@ The custom aggregate function will be invoked differently for total and group ag
**Group Aggregation:** The custom aggregate function will be called with the current group details and the aggregate column object as arguments.
-Here’s an example that demonstrates how to use the custom aggregate feature in the Blazor Grid component:
+Here’s an example that demonstrates how to use the custom aggregate feature in the Grid:
{% tabs %}
{% highlight razor tabtitle="Index.razor" %}
@@ -152,7 +152,6 @@ Here’s an example that demonstrates how to show the count of distinct values f
-
@code {
private SfGrid Grid;
public List Orders { get; set; }
@@ -218,5 +217,4 @@ Here’s an example that demonstrates how to show the count of distinct values f
> To display the aggregate value of the current column in another column, you can use the [ColumnName](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.GridAggregateColumn.html#Syncfusion_Blazor_Grids_GridAggregateColumn_ColumnName) property. If the `ColumnName` property is not defined, the field name value will be assigned to the `ColumnName` property.
-
> You can refer to the [Blazor DataGrid](https://www.syncfusion.com/blazor-components/blazor-datagrid) feature tour page for its groundbreaking feature representations. You can also explore [Blazor DataGrid example](https://blazor.syncfusion.com/demos/datagrid/overview?theme=bootstrap4) to understand how to present and manipulate data.
\ No newline at end of file
diff --git a/blazor/datagrid/custom-toolbar.md b/blazor/datagrid/custom-toolbar.md
index 4f30b6f774..568a25d4bc 100644
--- a/blazor/datagrid/custom-toolbar.md
+++ b/blazor/datagrid/custom-toolbar.md
@@ -6,13 +6,13 @@ platform: Blazor
control: DataGrid
documentation: ug
---
-# Custom toolbar in Blazor DataGrid component
+# Custom toolbar in Blazor DataGrid
-Custom toolbar in Syncfusion® Blazor Grid allows you to create a distinctive toolbar layout, style, and functionality that aligns with the specific needs of your application, providing a personalized experience within the Grid component.
+Custom toolbar in Syncfusion Blazor DataGrid allows you to create a distinctive toolbar layout, style, and functionality that aligns with the specific needs of your application, providing a personalized experience within the Grid.
This can be achieved by utilizing the `Template` property, which offers extensive customization options for the Toolbar. You can define a custom Template for the Toolbar and handle the actions of the ToolbarItems in the **OnClick** event.
-The following example demonstrates, how to render the custom Toolbar using `Template`.
+The following example demonstrates, how to render the custom Toolbar using `Template`:
{% tabs %}
{% highlight razor tabtitle="Index.razor" %}
@@ -118,11 +118,11 @@ The following example demonstrates, how to render the custom Toolbar using `Temp
## Render image with text in custom Toolbar
-Render an image with text in custom Toolbar in Syncfusion® Blazor Grid allows easily render an image along with text in the Toolbar of the DataGrid. This feature enhances the visual presentation of the Grid, providing additional context and improving the overall experience.
+Render an image with text in custom Toolbar in Syncfusion Blazor DataGrid allows easily render an image along with text in the Toolbar of the Grid. This feature enhances the visual presentation of the Grid, providing additional context and improving the overall experience.
To render an image with text in Custom Toolbar, you can utilize the Template in [SfToolbar](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Navigations.SfToolbar.html) in your code.
-The following example demonstrates how to render an image in the Toolbar of the grid using `Template`.
+The following example demonstrates how to render an image in the Toolbar of the Grid using `Template`:
{% tabs %}
{% highlight razor tabtitle="Index.razor" %}
@@ -226,11 +226,11 @@ The following example demonstrates how to render an image in the Toolbar of the
## Render SfDropDownList in Custom Toolbar
-Render SfDropDownList in Custom Toolbar in Syncfusion® Blazor Grid enables you to extend the functionality of the Custom Toolbar by incorporating a [DropDownList](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DropDowns.SfDropDownList-2.html) component, allowing you to perform various actions within the DataGrid based on their selections.
+Render **SfDropDownList** in Custom Toolbar in Syncfusion Blazor DataGrid enables you to extend the functionality of the Custom Toolbar by incorporating a [DropDownList](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DropDowns.SfDropDownList-2.html), allowing you to perform various actions within the Grid based on their selections.
-This can be achieved by utilizing the `Template`. The example below demonstrates how to render the **SFDropDownList** component in the Custom Toolbar, where the Toolbar Template includes the its [ValueChanged](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DropDowns.SfDropDownList-2.html#Syncfusion_Blazor_DropDowns_SfDropDownList_2_ValueChanged) event is bound to the **OnChange** method.
+This can be achieved by utilizing the `Template`. The example below demonstrates how to render the **SFDropDownList** in the Custom Toolbar, where the Toolbar Template includes the its [ValueChanged](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DropDowns.SfDropDownList-2.html#Syncfusion_Blazor_DropDowns_SfDropDownList_2_ValueChanged) event is bound to the **OnChange** method.
-In the **OnChange** method, the text of the selected item is checked to determine the appropriate action. For example, if **Update** is chosen, the [EndEditAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_EndEditAsync) method is called to exit the edit mode. If **Edit** is selected, the selected record is passed to the [StartEditAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_StartEditAsync) method to initiate the edit mode dynamically. Similarly, if **Delete** is picked, the selected record is passed to the [DeleteRecordAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_DeleteRecordAsync) method to remove it from the grid.
+In the **OnChange** method, the text of the selected item is checked to determine the appropriate action. For example, if **Update** is chosen, the [EndEditAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_EndEditAsync) method is called to exit the edit mode. If **Edit** is selected, the selected record is passed to the [StartEditAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_StartEditAsync) method to initiate the edit mode dynamically. Similarly, if **Delete** is picked, the selected record is passed to the [DeleteRecordAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_DeleteRecordAsync) method to remove it from the Grid.
{% tabs %}
{% highlight razor tabtitle="Index.razor" %}
@@ -271,10 +271,10 @@ In the **OnChange** method, the text of the selected item is checked to determin
public string text { get; set; }
}
List