Pagination styling

This commit is contained in:
2017-01-04 10:10:43 -05:00
parent 9e710effc1
commit d14e40a36b
18 changed files with 2230 additions and 8 deletions
+2 -1
View File
@@ -4,7 +4,7 @@
var grid = new WebGrid(Model, rowsPerPage: 45);
}
@grid.GetHtml(columns:
@grid.Table(columns:
grid.Columns(
grid.Column("LeafInputIdentifier", "Identifier"),
grid.Column("LeafInputSiteId", "Site Id"),
@@ -13,6 +13,7 @@
grid.Column("Total Results: " + Model.Count(), format: item => Btns(item))),
htmlAttributes: new { @class = "table table-striped table-bordered table-hover table-condensed" }
)
@grid.BootstrapPager()
@helper Btns(dynamic item)
{