MultipleGrids
Name |
---|
Star Wars |
Reservoir Dogs |
Airplane! |
Name |
---|
Star Wars |
Reservoir Dogs |
Airplane! |
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.