You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
641 B

@page "/inventory"
@using System.Globalization
@using BlazorApp1.Components
@using BlazorApp1.Models
<PageTitle>@Localizer["TitlePage"]</PageTitle>
<h3>@Localizer["Title"]</h3>
<div>
<InventoryComponent Items="Items"/>
</div>
<DataGrid TItem="Item"
Data="@Items"
ReadData="@OnReadData"
TotalItems="@totalItem"
PageSize="10"
ShowPager
Sortable='true'
Responsive>
</DataGrid>
<button type="button" class="btn btn-danger" @onclick="() => SortItem()"><i class="fa fa-trash"></i> Supprimer</button>
<p>
<b>CurrentCulture</b>: @CultureInfo.CurrentCulture
</p>