An example showing an auto-generated table using the public view model properties using Ajax.
Id | First | Last | Birth Date | Favorite Color | Full Name | |
---|---|---|---|---|---|---|
96 | Jael | Bennett | 1967-12-27 | ligula.nullam.feugiat@vulputate.net | Jael Bennett | |
97 | Arden | Glenn | 1975-06-18 | eu.enim@necleomorbi.com | Arden Glenn | |
98 | Alice | Levy | 1966-12-04 | non@est.net | Alice Levy | |
99 | Bert | Santos | 1995-09-09 | augue.eu.tempor@dolor.ca | Bert Santos | |
100 | Azalia | Stark | 1956-06-14 | ultricies.dignissim@nibhphasellusnulla.ca | Azalia Stark |
Markup
@model IPagedList<table class="table" asp-for="@Model" ajax="true" />