All Projects → simonray → bootstrap-table.mvc

simonray / bootstrap-table.mvc

Licence: MIT License
A fluent Html helper for the popular bootstrap-table plug-in.

Programming Languages

C#
18002 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
Classic ASP
548 projects

#bootstrap-table.mvc (C# / MVC) nuget package

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

Configuration

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>

Usage

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))

Alt text

Examples

Download

Change Log

1.1.1 (22-02-15)

  • Set column title as split camel-case.
  • Support for ordered model properties [Display(Order=#)].

1.1.0 (19-02-15)

  • Simplify interface and options.
  • Removed PagingUrl -> constructor (TablePaginationOption.###).
  • Upgrade to latest bootstrap-table.

1.0.1 (22-01-15)

1.0.0 (16-01-15)

  • Initial Release.

Acknowledgements

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].