Skip to content

Commit 7c23fd2

Browse files
Apply suggestions from code review
Co-authored-by: Elena Khamliuk <80813840+khamlyuk@users.noreply.github.com>
1 parent ae75005 commit 7c23fd2

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- default badges end -->
33
# Blazor Grid - Bind the Component to Data Using XPO
44

5-
This example uses [DevExpress eXpress Persistent Objects (XPO) ORM](https://docs.devexpress.com/XPO/1998/express-persistent-objects) to bind the Blazor **DxGrid** to a database: a Web API backend retrieves XPO persistent objects and passes data to a Blazor application.
5+
This example uses [DevExpress eXpress Persistent Objects (XPO) ORM](https://docs.devexpress.com/XPO/1998/express-persistent-objects) to bind the Blazor `DxGrid` to a database: a Web API backend retrieves XPO persistent objects and passes data to a Blazor application.
66

77
## Implementation Details
88

@@ -41,7 +41,7 @@ This example uses [DevExpress eXpress Persistent Objects (XPO) ORM](https://docs
4141

4242
### Retrieve Data Using a Web API Controller
4343

44-
Create an API controller that queries the XPO `UnitOfWork`, shapes the result, and uses the `DevExtreme.AspNet.Data` library's [DataSourceLoader](https://devexpress.github.io/DevExtreme.AspNet.Data/net/api/DevExtreme.AspNet.Data.DataSourceLoader.html) to apply paging, sorting, and filtering based on the grid [load options](CS/DxGrid.BindToDataUsingXPO.WebAPI/Controllers):
44+
Create an API controller that queries the XPO `UnitOfWork`, shapes the result, and uses the `DevExtreme.AspNet.Data` library [DataSourceLoader](https://devexpress.github.io/DevExtreme.AspNet.Data/net/api/DevExtreme.AspNet.Data.DataSourceLoader.html) to apply paging, sorting, and filtering based on the grid [load options](CS/DxGrid.BindToDataUsingXPO.WebAPI/Controllers):
4545
4646
```cs
4747
[HttpGet]
@@ -70,7 +70,7 @@ public ActionResult Get(DataSourceLoadOptions loadOptions) {
7070

7171
### Bind a Blazor Grid to Data
7272

73-
1. In a Blazor client application ([DxGrid.BindToDataUsingXPO](CS\DxGrid.BindToDataUsingXPO\DxGrid.BindToDataUsingXPO.csproj)), add a **DxGrid** component with multiple [DxGridDataColumn](https://docs.devexpress.com/Blazor/DevExpress.Blazor.DxGridDataColumn) objects:
73+
1. In a Blazor client application ([DxGrid.BindToDataUsingXPO](CS\DxGrid.BindToDataUsingXPO\DxGrid.BindToDataUsingXPO.csproj)), add a `DxGrid` component with multiple [DxGridDataColumn](https://docs.devexpress.com/Blazor/DevExpress.Blazor.DxGridDataColumn) objects:
7474
7575
```razor
7676
<DxGrid>
@@ -85,7 +85,7 @@ public ActionResult Get(DataSourceLoadOptions loadOptions) {
8585
</DxGrid>
8686
```
8787

88-
1. Create a [GridDevExtremeDataSource\<T\>](https://docs.devexpress.com/Blazor/DevExpress.Blazor.GridDevExtremeDataSource-1) instance and pass the `HttpClient` parameter and controller endpoint URI. Assign the instance to the Grid **Data** property:
88+
1. Create a [GridDevExtremeDataSource\<T\>](https://docs.devexpress.com/Blazor/DevExpress.Blazor.GridDevExtremeDataSource-1) instance and pass the `HttpClient` parameter and controller endpoint URI. Assign the instance to the Grid `Data` property:
8989
9090
```razor
9191
<DxGrid Data="GridDataSource">
@@ -105,7 +105,7 @@ public ActionResult Get(DataSourceLoadOptions loadOptions) {
105105
}
106106
```
107107

108-
The grid sends requests to the Web API. The API delegates data shaping to XPO's query provider. In this case, DxGrid loads only the data required for screen display instead of the entire dataset.
108+
The grid sends requests to the Web API that delegates data shaping to XPO query provider. The Grid loads data required to display on screen instead of the entire dataset.
109109

110110

111111
## Files to Review

0 commit comments

Comments
 (0)