An example showing an auto-generated table using the public view model properties using Ajax.
Id | First | Last | Birth Date | Favorite Color | Full Name | |
---|---|---|---|---|---|---|
41 | Gannon | Valenzuela | 1958-04-07 | interdum.curabitur.dictum@necmauris.com | Gannon Valenzuela | |
42 | Naomi | Moses | 1984-01-22 | ac@netus.co.uk | Naomi Moses | |
43 | Tatiana | Kemp | 1961-01-09 | massa@nunc.net | Tatiana Kemp | |
44 | Bree | Gonzales | 1994-11-09 | cum.sociis.natoque@aarcu.ca | Bree Gonzales | |
45 | Ulric | Bates | 1995-06-07 | nec.urna.et@interdumliberodui.org | Ulric Bates |
Markup
@model IPagedList<table class="table" asp-for="@Model" ajax="true" />