Pagination
Name | Movie Director | Movie Genre | Released |
---|---|---|---|
2001: A Space Odyssey | Stanley Kubrick | Sci-Fi | 1968 |
@(await Html
.SimpleGrid(Model)
.AddColumnsForModel()
.AddPager(options =>
{
options.RowsPerPage = 3;
options.DisplayPagerTop = true;
options.DisplayPagerBottom = true;
options.DisplayTotal = true;
options.RowsPerPageOptions =
new[] { 3, 5, 10, 50, 1000 };
})
.RenderAsync())