An example showing an auto-generated table using the public view model properties using Ajax.
Id | First | Last | Birth Date | Favorite Color | Full Name | |
---|---|---|---|---|---|---|
46 | Isaiah | Albert | 1950-09-08 | semper.auctor.mauris@phasellusvitae.com | Isaiah Albert | |
47 | Jeanette | Leach | 1955-10-30 | sed.leo@et.com | Jeanette Leach | |
48 | Gretchen | Miranda | 1957-03-31 | eros.turpis.non@duiaugueeu.org | Gretchen Miranda | |
49 | Jorden | Oneal | 1947-09-06 | erat.semper@atvelitcras.co.uk | Jorden Oneal | |
50 | Kieran | Kirby | 1963-09-29 | donec.porttitor.tellus@fuscemilorem.edu | Kieran Kirby |
Markup
@model IPagedList<table class="table" asp-for="@Model" ajax="true" />