MultipleGrids
Name |
---|
Movie with <b>bold</b> |
The Godfather |
Citizen Kane |
Name |
---|
Movie with <b>bold</b> |
The Godfather |
Citizen Kane |
Name |
---|
Star Wars |
Reservoir Dogs |
Airplane! |
Name |
---|
Close Encounters of the Third Kind |
Rocky |
Brave Heart |
@(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.