An example showing an auto-generated table using the public view model properties using Ajax.
Id | First | Last | Birth Date | Favorite Color | Full Name | |
---|---|---|---|---|---|---|
1 | Vira | Duran | 1978-11-28 | sit.amet@necantemaecenas.co.uk | Vira Duran | |
2 | Daquan | Mcdowell | 1985-01-08 | id.nunc@nuncullamcorpereu.co.uk | Daquan Mcdowell | |
3 | Lysandra | Holloway | 1986-04-11 | dui@donec.edu | Lysandra Holloway | |
4 | Piper | Larsen | 1968-04-14 | scelerisque@volutpatnullafacilisis.org | Piper Larsen | |
5 | Carissa | Mueller | 1964-01-19 | suspendisse.sagittis.nullam@nislnulla.co.uk | Carissa Mueller | |
6 | Georgia | Henson | 1955-08-16 | fames.ac@cras.ca | Georgia Henson | |
7 | Barry | Garrett | 1995-05-28 | nullam.ut.nisi@cras.net | Barry Garrett | |
8 | Jordan | Johnston | 1950-10-06 | etiam.gravida@vestibulumuteros.ca | Jordan Johnston | |
9 | Sonya | Hubbard | 1984-08-09 | ut.nulla.cras@consectetueradipiscingelit.com | Sonya Hubbard | |
10 | Ezekiel | Randolph | 1955-09-05 | et.magnis.dis@donec.edu | Ezekiel Randolph |
Markup
@model IPagedList<table class="table" asp-for="@Model" ajax="true" />