--- sidebar_position: 5 title: HTML table --- ## Use an HTML table Now that we have displayed one of the fields of our object, we are going to display all the information. Open the `List.razor` file and fill it in as follows: ```cshtml title="Pages/List.razor" @page "/list"

List

@if (items != null) { // highlight-start @foreach (var item in items) { }
Id Display Name Stack Size Maximum Durability Enchant Categories Repair With Created Date
@item.Id @item.DisplayName @item.StackSize @item.MaxDurability @(string.Join(", ", item.EnchantCategories)) @(string.Join(", ", item.RepairWith)) @item.CreatedDate.ToShortDateString()
// highlight-end } ``` You have now displayed all of your data, it is simple but lacks functionality, impossible to sort the data or filter it or have pagination.