MultipleGrids
Name |
---|
Terminator |
Terminator 2: Judgement Day |
Wonder Woman 1984 |
Name |
---|
Terminator |
Terminator 2: Judgement Day |
Wonder Woman 1984 |
Name |
---|
Star Wars |
Reservoir Dogs |
Airplane! |
Name |
---|
The Shawshank Redemption |
Pulp Fiction |
Casablanca |
@(await Html
.SimpleGrid(Model, "Grid1")
.AddColumnFor(movie => movie.Name)
.AddPager(options => options.RowsPerPage = 3)
.RenderAsync())
The first two grids will page together while the second and third will be independent since
they are given unique IDs.
You simple place the Grid ID in the Html.SimpleGrid(...)
call.