An example showing an auto-generated table using the public view model properties using Ajax.
Id | First | Last | Birth Date | Favorite Color | Full Name | |
---|---|---|---|---|---|---|
16 | Hanna | Alvarez | 1955-12-17 | aenean@estvitae.co.uk | Hanna Alvarez | |
17 | Melanie | Pittman | 1981-06-11 | fermentum.risus.at@amalesuadaid.co.uk | Melanie Pittman | |
18 | Tanya | Moran | 1968-10-03 | eu@lectusante.org | Tanya Moran | |
19 | Maisie | Christensen | 1985-10-31 | inceptos.hymenaeos.mauris@orci.edu | Maisie Christensen | |
20 | Gareth | Shepard | 1978-03-03 | arcu.vestibulum.ante@dolortempus.co.uk | Gareth Shepard |
Markup
@model IPagedList<table class="table" asp-for="@Model" ajax="true" />