This repository has been archived by the owner on Jul 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
@page "/135" | ||
|
||
@using BlazorTable | ||
|
||
<Table TableItem="PersonData" Items="data" ShowSearchBar="true"> | ||
<Column TableItem="PersonData" Title="Id" Field="@(x => x.ShortId)" Sortable="false" Filterable="true" /> | ||
<Column TableItem="PersonData" Title="Request" Sortable="false" Filterable="false"> | ||
<Template> | ||
<button>RQ</button> | ||
</Template> | ||
</Column> | ||
</Table> | ||
|
||
@code | ||
{ | ||
private PersonData[] data; | ||
|
||
protected override async Task OnInitializedAsync() | ||
{ | ||
data = new PersonData[] | ||
{ | ||
new PersonData() | ||
{ | ||
ShortId = 5 | ||
} | ||
}; | ||
} | ||
|
||
public class PersonData | ||
{ | ||
public int ShortId { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters