Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavnavar committed Jun 19, 2024
1 parent 9502de8 commit d2edb3a
Show file tree
Hide file tree
Showing 15 changed files with 60 additions and 10 deletions.
2 changes: 1 addition & 1 deletion GridBlazorClientSide.Client/Pages/Count.razor
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<h1>Grid Sample</h1>

<p>
This page contains a grid with a subset count column
This page contains a grid with a collection column showing the subset count on the grid
</p>

<p>
Expand Down
2 changes: 1 addition & 1 deletion GridBlazorClientSide.Client/Shared/NavMenu.razor
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
</li>
<li class="nav-item px-3">
<NavLink class="nav-link" href="count">
<span class="oi oi-list-rich" aria-hidden="true"></span> Count
<span class="oi oi-list-rich" aria-hidden="true"></span> Collection Count
</NavLink>
</li>
<li class="nav-item px-3">
Expand Down
2 changes: 1 addition & 1 deletion GridBlazorGrpc.Client/Pages/Count.razor
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<h1>Grid Sample</h1>

<p>
This page contains a grid with a subset count column
This page contains a grid with a collection column showing the subset count on the grid
</p>

<p>
Expand Down
2 changes: 1 addition & 1 deletion GridBlazorGrpc.Client/Shared/NavMenu.razor
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
</li>
<li class="nav-item px-3">
<NavLink class="nav-link" href="count">
<span class="oi oi-list-rich" aria-hidden="true"></span> Count
<span class="oi oi-list-rich" aria-hidden="true"></span> Collection Count
</NavLink>
</li>
<li class="nav-item px-3">
Expand Down
2 changes: 1 addition & 1 deletion GridBlazorJava/Pages/Count.razor
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<h1>Grid Sample</h1>

<p>
This page contains a grid with a subset count column
This page contains a grid with a collection column showing the subset count on the grid
</p>

<p>
Expand Down
2 changes: 1 addition & 1 deletion GridBlazorJava/Shared/NavMenu.razor
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
</li>
<li class="nav-item px-3">
<NavLink class="nav-link" href="count">
<span class="oi oi-list-rich" aria-hidden="true"></span> Count
<span class="oi oi-list-rich" aria-hidden="true"></span> Collection Count
</NavLink>
</li>
<li class="nav-item px-3">
Expand Down
2 changes: 1 addition & 1 deletion GridBlazorServerSide/Pages/Count.razor
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<h1>Grid Sample</h1>

<p>
This page contains a grid with a subset count column
This page contains a grid with a collection column showing the subset count on the grid
</p>

<p>
Expand Down
2 changes: 1 addition & 1 deletion GridBlazorServerSide/Shared/NavMenu.razor
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
</li>
<li class="nav-item px-3">
<NavLink class="nav-link" href="count">
<span class="oi oi-list-rich" aria-hidden="true"></span> Count
<span class="oi oi-list-rich" aria-hidden="true"></span> Collection Count
</NavLink>
</li>
<li class="nav-item px-3">
Expand Down
2 changes: 1 addition & 1 deletion GridBlazorStandalone/Pages/Count.razor
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<h1>Grid Sample</h1>

<p>
This page contains a grid with a subset count column
This page contains a grid with a collection column showing the subset count on the grid
</p>

<p>
Expand Down
2 changes: 1 addition & 1 deletion GridBlazorStandalone/Shared/NavMenu.razor
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
</li>
<li class="nav-item px-3">
<NavLink class="nav-link" href="count">
<span class="oi oi-list-rich" aria-hidden="true"></span> Count
<span class="oi oi-list-rich" aria-hidden="true"></span> Collection Count
</NavLink>
</li>
<li class="nav-item px-3">
Expand Down
10 changes: 10 additions & 0 deletions docs/blazor_client/Custom_columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,16 @@ All customization for columns must be done on the client project, preferably in
.SetWidth(220);
```

## Collection columns

When there are tables with one-to-many relationship, each table can reference the other one on the model definition. In this case you can define a grid column that shows the count of the referenced collection. You should use the contructor of the **Add** method to create the column including the collection expression as parameter, as a normal column definition:

```c#
Columns.Add(o => o.OrderDatails);
```

This column can be filtered, sorted and searched as any other one.

## Component columns

Sometimes you need to add a column that renders a component. In this case you must use an empty contructor of the **Add** method to create a column and its **RenderComponentAs** method to define the content that will be rendered in it:
Expand Down
10 changes: 10 additions & 0 deletions docs/blazor_grpc/Custom_columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,16 @@ All customization for columns must be done on the client project, preferably in
.SetWidth(220);
```

## Collection columns

When there are tables with one-to-many relationship, each table can reference the other one on the model definition. In this case you can define a grid column that shows the count of the referenced collection. You should use the contructor of the **Add** method to create the column including the collection expression as parameter, as a normal column definition:

```c#
Columns.Add(o => o.OrderDatails);
```

This column can be filtered, sorted and searched as any other one.

## Component columns

Sometimes you need to add a column that renders a component. In this case you must use an empty contructor of the **Add** method to create a column and its **RenderComponentAs** method to define the content that will be rendered in it:
Expand Down
10 changes: 10 additions & 0 deletions docs/blazor_local/Custom_columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,16 @@ All customization for columns must be done in the razor page:
.SetWidth(220);
```

## Collection columns

When there are tables with one-to-many relationship, each table can reference the other one on the model definition. In this case you can define a grid column that shows the count of the referenced collection. You should use the contructor of the **Add** method to create the column including the collection expression as parameter, as a normal column definition:

```c#
Columns.Add(o => o.OrderDatails);
```

This column can be filtered, sorted and searched as any other one.

## Component columns

Sometimes you need to add a column that renders a component. In this case you must use an empty contructor of the **Add** method to create a column and its **RenderComponentAs** method to define the content that will be rendered in it:
Expand Down
10 changes: 10 additions & 0 deletions docs/blazor_server/Custom_columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,16 @@ All customization for columns must be done in the razor page:
.SetWidth(220);
```

## Collection columns

When there are tables with one-to-many relationship, each table can reference the other one on the model definition. In this case you can define a grid column that shows the count of the referenced collection. You should use the contructor of the **Add** method to create the column including the collection expression as parameter, as a normal column definition:

```c#
Columns.Add(o => o.OrderDatails);
```

This column can be filtered, sorted and searched as any other one.

## Component columns

Sometimes you need to add a column that renders a component. In this case you must use an empty contructor of the **Add** method to create a column and its **RenderComponentAs** method to define the content that will be rendered in it:
Expand Down
10 changes: 10 additions & 0 deletions docs/dotnetcore_blazor/Custom_columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,16 @@ All customization for columns must be done in the razor page:
.SetWidth(220);
```

## Collection columns

When there are tables with one-to-many relationship, each table can reference the other one on the model definition. In this case you can define a grid column that shows the count of the referenced collection. You should use the contructor of the **Add** method to create the column including the collection expression as parameter, as a normal column definition:

```c#
Columns.Add(o => o.OrderDatails);
```

This column can be filtered, sorted and searched as any other one.

## Component columns

Sometimes you need to add a column that renders a component. In this case you must use an empty contructor of the **Add** method to create a column and its **RenderComponentAs** method to define the content that will be rendered in it:
Expand Down

0 comments on commit d2edb3a

Please sign in to comment.