#bootstrap-table.mvc (C# / MVC)
A fluent Html helper for the popular bootstrap-table plug-in.
To install, run the following command in the Package Manager Console.
Install-Package bootstrap-table.mvc
Add the following css
<link href="~/Content/bootstrap-table.min.css" rel="stylesheet" />
and script to your project
<script src="~/Scripts/bootstrap-table/bootstrap-table.min.js"></script>
You're now ready to start using bootstrap-table.
@(Html.BootstrapTable<Person>(Url.Action("GetPeoplePaged"), TablePaginationOption.server)
.Apply(TableOption.striped)
.Apply(m => m.Id, ColumnOption.align_center))
- Set column title as split camel-case.
- Support for ordered model properties [Display(Order=#)].
- Simplify interface and options.
- Removed PagingUrl -> constructor (TablePaginationOption.###).
- Upgrade to latest bootstrap-table.
- Upgrade to latest bootstrap-table.
- Initial Release.