Skip to content

ASP MVC Helpers for connecting IQueryables with the amazing Jquery DataTables plugin

License

Notifications You must be signed in to change notification settings

eyesnz/mvc.jquery.datatables

 
 

Repository files navigation

turn IQueryables into datagrids

Install-Package Mvc.JQuery.Datatables

Install-Package Mvc.JQuery.Datatables.Templates *

Demo site Example

  • turn any IQueryable into a live datagrid. Tested with:
    • Linq To Objects
    • Entity Framework
    • Lucene.Net.Linq
  • wraps the very comprehensive jquery datatables plugin. Supported features:
    • Filtering (text, date range (with datepicker), number ranges, choose from dropdown, multiple values using checkboxes)
    • Sorting (configurable per column)
    • Paging (choose page size options, or fix them)
    • Customer column rendering
    • Custom positioning of filters (e.g. you could move them above the table)
    • Localization
    • TableTools support (PDF/Excel export)
    • Attribute based configuration (optional)
  • Can be run from dll

*skip this if using EmbeddedResourceVirtualPathProvider

See the test page and example project for info on how to use

http://nuget.org/packages/Mvc.JQuery.Datatables

The code here is based on code from http://code.google.com/p/datatables-asp-mvc/

If you have a feature request, bug, or a patch, please could you add an example page on a fork demonstrating the problem or feature. Thanks!

Flattr this git repo

About

ASP MVC Helpers for connecting IQueryables with the amazing Jquery DataTables plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.3%
  • C# 8.5%
  • Other 0.2%