An example showing the table with an empty dataset. You can specify a custom message by using the no-records-message
attribute.
Id | First | Last | Birth Date | Favorite Color | Full Name | |
---|---|---|---|---|---|---|
No matching records found (custom) |
Markup
@model IPagedList<BasicPersonView> <table class="table" asp-for="@Model" no-records-message="No matching records found (custom)" />