Skip to content

Commit 1bbe345

Browse files
committed
Update documentation
1 parent 1553957 commit 1bbe345

File tree

4 files changed

+18
-10
lines changed

4 files changed

+18
-10
lines changed

docs/blazor_client/Embedded_components.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ Compoments can be embedded on a grid. These components can be started pushing a
88

99
## Page definition
1010

11-
1- If you want to use a button on the top of the grid to start the embedded component, you can use the **AddButtonComponent** method of the **GridClient** object to add a component:
11+
* If you want to use a button on the top of the grid to start the embedded component, you can use the **AddButtonComponent** method of the **GridClient** object to add a component:
12+
1213
```c#
1314
var client = new GridClient<Order>(httpClient, url, query, false, "ordersGrid", Columns, locale)
1415
.AddButtonComponent<EmployeeComponent>("Employees", "Employee's Grid");
@@ -26,7 +27,8 @@ Compoments can be embedded on a grid. These components can be started pushing a
2627

2728
If you use any of these paramenters, you must use them when creating the component.
2829

29-
2- If you want to use a button in a grid column to start the embedded component, you has to render a button in a grid cell custom column:
30+
* If you want to use a button in a grid column to start the embedded component, you has to render a button in a grid cell custom column:
31+
3032
```c#
3133
c.Add().Encoded(false).Sanitized(false).RenderComponentAs<ShipperButtonCell>();
3234
```

docs/blazor_odata/Embedded_components.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ Compoments can be embedded on a grid. These components can be started pushing a
88

99
## Page definition
1010

11-
1- If you want to use a button on the top of the grid to start the embedded component, you can use the **AddButtonComponent** method of the **GridODataClient** object to add a component:
12-
```c#
11+
* If you want to use a button on the top of the grid to start the embedded component, you can use the **AddButtonComponent** method of the **GridODataClient** object to add a component:
12+
13+
```c#
1314
var client = new GridODataClient<Order>(httpClient, url, query, false, "ordersGrid", columns, 10, locale)
1415
.AddButtonComponent<EmployeeComponent>("Employees", "Employee's Grid");
1516
```
@@ -26,8 +27,9 @@ Compoments can be embedded on a grid. These components can be started pushing a
2627

2728
If you use any of these paramenters, you must use them when creating the component.
2829

29-
2- If you want to use a button in a grid column to start the embedded component, you has to render a button in a grid cell custom column:
30-
```c#
30+
* If you want to use a button in a grid column to start the embedded component, you has to render a button in a grid cell custom column:
31+
32+
```c#
3133
c.Add().Encoded(false).Sanitized(false).RenderComponentAs<ShipperButtonCell>();
3234
```
3335
You can use any option described in the [documentation](Render_button_checkbox_etc_in_a_grid_cell.md)

docs/blazor_server/Embedded_components.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ Compoments can be embedded on a grid. These components can be started pushing a
88

99
## Page definition
1010

11-
1- If you want to use a button on the top of the grid to start the embedded component, you can use the **AddButtonComponent** method of the **GridClient** object to add a component:
11+
* If you want to use a button on the top of the grid to start the embedded component, you can use the **AddButtonComponent** method of the **GridClient** object to add a component:
12+
1213
```c#
1314
var client = new GridClient<Order>(q => orderService.GetOrdersGridRows(columns, q), query, false, "ordersGrid", Columns, locale)
1415
.AddButtonComponent<EmployeeComponent>("Employees", "Employee's Grid");
@@ -26,7 +27,8 @@ Compoments can be embedded on a grid. These components can be started pushing a
2627

2728
If you use any of these paramenters, you must use them when creating the component.
2829

29-
2- If you want to use a button in a grid column to start the embedded component, you has to render a button in a grid cell custom column:
30+
* If you want to use a button in a grid column to start the embedded component, you has to render a button in a grid cell custom column:
31+
3032
```c#
3133
c.Add().Encoded(false).Sanitized(false).RenderComponentAs<ShipperButtonCell>();
3234
```

docs/dotnetcore_blazor/Embedded_components.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ Compoments can be embedded on a grid. These components can be started pushing a
88

99
## Page definition
1010

11-
1- If you want to use a button on the top of the grid to start the embedded component, you can use the **AddButtonComponent** method of the **GridClient** object to add a component:
11+
* If you want to use a button on the top of the grid to start the embedded component, you can use the **AddButtonComponent** method of the **GridClient** object to add a component:
12+
1213
```c#
1314
var client = new GridClient<Order>(q => orderService.GetOrdersGridRows(columns, q), query, false, "ordersGrid", Columns, locale)
1415
.AddButtonComponent<EmployeeComponent>("Employees", "Employee's Grid");
@@ -26,7 +27,8 @@ Compoments can be embedded on a grid. These components can be started pushing a
2627

2728
If you use any of these paramenters, you must use them when creating the component.
2829

29-
2- If you want to use a button in a grid column to start the embedded component, you has to render a button in a grid cell custom column:
30+
* If you want to use a button in a grid column to start the embedded component, you has to render a button in a grid cell custom column:
31+
3032
```c#
3133
c.Add().Encoded(false).Sanitized(false).RenderComponentAs<ShipperButtonCell>();
3234
```

0 commit comments

Comments
 (0)