MultipleGrids
Name |
---|
Star Wars |
Reservoir Dogs |
Airplane! |
Name |
---|
Star Wars |
Reservoir Dogs |
Airplane! |
Name |
---|
Terminator |
Terminator 2: Judgement Day |
Wonder Woman 1984 |
Name |
---|
Star Wars |
Reservoir Dogs |
Airplane! |
@(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.