Pagination
Name | Movie Director | Movie Genre | Released |
---|---|---|---|
Star Wars | George Lucas | Sci-Fi | 1997 |
Reservoir Dogs | Quentin Tarantino | Thriller | 1992 |
Airplane! | David and Jerry Zucker and Jim Abrahams | Slapstick | 1980 |
Terminator | James Cameron | Action | 1984 |
Terminator 2: Judgement Day | James Cameron | Action | 1991 |
@(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())