You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blazor/datagrid/connecting-to-adaptors/custom-adaptor.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ documentation: ug
10
10
11
11
# Custom Binding in Blazor DataGrid
12
12
13
-
The Syncfusion<supstyle="font-size:70%">®</sup> Blazor DataGrid supports custom data operations through the [CustomAdaptor](https://blazor.syncfusion.com/documentation/data/custom-binding) in the [SfDataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Data.SfDataManager.html). This adaptor allows complete control over data handling by overriding methods in the [DataAdaptor](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DataAdaptor.html) class. It is designed for scenarios where data operations such as **create**, **read**, **update**, and **delete** must be implemented manually or integrated with custom logic.
13
+
The Syncfusion<supstyle="font-size:70%">®</sup> Blazor DataGrid supports custom data operations through the [CustomAdaptor](https://blazor.syncfusion.com/documentation/data/custom-binding) in the [SfDataManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Data.SfDataManager.html). This adaptor allows complete control over data handling by overriding methods in the [DataAdaptor](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DataAdaptor.html) class. It is designed for scenarios where data operations such as **read**, **insert**, **update**, and **delete** must be implemented manually or integrated with custom logic.
14
14
15
15
The `CustomAdaptor` is ideal for applications that require:
16
16
@@ -498,8 +498,6 @@ The [DataManagerRequest](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor
498
498
499
499
* [PerformAggregation](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Data.DataUtil.html#Syncfusion_Blazor_Data_DataUtil_PerformAggregation_System_Collections_IEnumerable_System_Collections_Generic_List_Syncfusion_Blazor_Data_Aggregate__) - Applies **aggregate** details from `DataManagerRequest` to the data source using the `DataUtil` class to calculate summary values such as **Sum**, **Average**, **Min**, and **Max**.
Customparameterscanbeaddedusingthe [Query](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_Query) property of the [SfGrid](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html) along with the [AddParams](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Data.Query.html#Syncfusion_Blazor_Data_Query_AddParams_System_String_System_Object_) method of the `Query` class.
1124
+
Customparameterscanbeaddedusingthe [Query](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_Query) property of the [Grid](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html) along with the [AddParams](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Data.Query.html#Syncfusion_Blazor_Data_Query_AddParams_System_String_System_Object_) method of the `Query` class.
Copy file name to clipboardExpand all lines: blazor/datagrid/connecting-to-adaptors/graphql-adaptor.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -557,11 +557,11 @@ The Syncfusion<sup style="font-size:70%">®</sup> Blazor DataGrid supports se
557
557
558
558
**Key Operations**
559
559
560
-
* **Searching**: Uses **Search** property to filter records based on keywords and fields.
561
-
* **Filtering**: Uses **Where** property to apply conditional filters on columns.
562
-
* **Sorting**: Uses **Sorted** property to define sort fields and directions.
563
-
* **Paging**: Uses **Skip** and **Take** properties to retrieve paged data.
564
-
* **CRUD**: Uses GraphQL mutations for **Insert**, **Update**, **Delete**, and **Batch** operations.
560
+
* **Searching**: Uses the **Search** property to filter records based on keywords and fields.
561
+
* **Filtering**: Uses the **Where** property to apply conditional filters on columns.
562
+
* **Sorting**: Uses the **Sorted** property to define sort fields and sort directions.
563
+
* **Paging**: Uses the **Skip** and **Take** properties to retrieve paged data.
564
+
* **CRUD**: Uses GraphQL mutations to perform **Insert, Update, Delete**, and **Batch** operations.
565
565
566
566
Each operation is handled on the server by parsing these parameters and applying the logic to the data source before returning the result to the DataGrid.
567
567
@@ -998,7 +998,7 @@ public class OrdersDataResponse
998
998
**Sorting** parameters are sent through the **Sorted** property of `DataManagerRequestInput`. Each sorting instruction includes:
999
999
1000
1000
* **Name**: The column name to sort.
1001
-
* **Direction**: The sort order (ascending or descending).
1001
+
* **Direction**: The sort order (**ascending** or **descending**).
1002
1002
1003
1003
When a sort action is triggered in the DataGrid, these parameters are passed to the GraphQL server. The server applies the sorting logic and returns the sorted collection along with the total record count.
1004
1004
@@ -1275,7 +1275,7 @@ Mutation = new GraphQLMutation
1275
1275
},
1276
1276
```
1277
1277
1278
-
**Parameters Sent to the Server**
1278
+
**Parameters sent to the Server**
1279
1279
1280
1280
These parameters are passed to the mutation method for the `Insert` operation on the server:
1281
1281
@@ -1338,7 +1338,7 @@ Mutation = new GraphQLMutation
1338
1338
},
1339
1339
```
1340
1340
1341
-
**Parameters Sent to the Server**
1341
+
**Parameters sent to the Server**
1342
1342
1343
1343
These parameters are passed to the mutation method for the `Update` operation on the server:
1344
1344
@@ -1400,7 +1400,7 @@ Mutation = new GraphQLMutation
1400
1400
},
1401
1401
```
1402
1402
1403
-
**Parameters Sent to the Server**
1403
+
**Parameters sent to the Server**
1404
1404
1405
1405
These parameters are passed to the mutation method for the **Delete** operation on the server:
1406
1406
@@ -1602,7 +1602,7 @@ Mutation = new GraphQLMutation
1602
1602
1603
1603
```
1604
1604
1605
-
**Parameters Sent to the Server**
1605
+
**Parameters sent to the Server**
1606
1606
1607
1607
These parameters are passed to the mutation method for the **Batch** operation on the server:
Copy file name to clipboardExpand all lines: blazor/datagrid/connecting-to-adaptors/odatav4-adaptor.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -285,7 +285,7 @@ When the application runs, the DataGrid displays data retrieved from the OData V
285
285
The Syncfusion<supstyle="font-size:70%">®</sup> Blazor DataGrid supports server-side operations such as **searching**, **sorting**, **filtering**, **paging**, and **CRUD** when connected to an **OData V4** service through the `ODataV4Adaptor`. These operations are executed on the server using **OData** query options:
286
286
287
287
***$filter** – Applies **filter** conditions and **search** criteria from [DataManagerRequest](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DataManagerRequest.html) to the data source.
288
-
***$orderby** – Applies **sort** descriptors from `DataManagerRequest` for ascending or descending order.
288
+
***$orderby** – Applies **sort** descriptors from `DataManagerRequest` for **ascending** or **descending** order.
289
289
***$skip, $top** – Applies **paging** details from `DataManagerRequest` to skip and retrieve records.
290
290
***$count** – Requests the total record count for **paging** and **aggregation**.
Enable filtering by adding the **Filter** method in the OData configuration and setting [AllowFiltering](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_AllowFiltering) property to **true** in [SfGrid](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html). The **$filter** query option retrieves records based on specified criteria.
359
+
Enable filtering by adding the **Filter** method in the OData configuration and setting [AllowFiltering](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_AllowFiltering) property to **true** in [Grid](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html). The **$filter** query option retrieves records based on specified criteria.
Enable sorting by adding the **OrderBy** method in the OData configuration and setting [AllowSorting](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_AllowSorting) property to **true** in [SfGrid](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html). The **$orderby** query option sorts records based on specified fields.
412
+
Enable sorting by adding the **OrderBy** method in the OData configuration and setting [AllowSorting](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_AllowSorting) property to **true** in [Grid](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html). The **$orderby** query option sorts records based on specified fields.
Paging can be enabled using the **SetMaxTop** method in the OData configuration and setting [AllowPaging](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_AllowPaging) property to **true** in [SfGrid](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html). The **$skip** and **$top** query options implement paging by skipping a specified number of records and retrieving the required count.
466
+
Paging can be enabled using the **SetMaxTop** method in the OData configuration and setting [AllowPaging](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_AllowPaging) property to **true** in [Grid](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html). The **$skip** and **$top** query options implement paging by skipping a specified number of records and retrieving the required count.
0 commit comments