Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcintyre321/mvc.jquery.datatables
ASP MVC Helpers for connecting IQueryables with the amazing DataTables.net plugin
https://github.com/mcintyre321/mvc.jquery.datatables
asp-mvc datatables iqueryable jquery-datatables-plugin linq
Last synced: 7 days ago
JSON representation
ASP MVC Helpers for connecting IQueryables with the amazing DataTables.net plugin
- Host: GitHub
- URL: https://github.com/mcintyre321/mvc.jquery.datatables
- Owner: mcintyre321
- License: mit
- Created: 2011-09-28T12:10:47.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2022-06-22T17:15:46.000Z (over 2 years ago)
- Last Synced: 2024-12-08T00:05:10.071Z (14 days ago)
- Topics: asp-mvc, datatables, iqueryable, jquery-datatables-plugin, linq
- Language: JavaScript
- Homepage: https://aspdatatables.azurewebsites.net/
- Size: 11.8 MB
- Stars: 186
- Watchers: 33
- Forks: 148
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: License.txt
Awesome Lists containing this project
- awesome-starred-test - mcintyre321/mvc.jquery.datatables - ASP MVC Helpers for connecting IQueryables with the amazing DataTables.net plugin (JavaScript)
README
turn IQueryables into datagrids
----------------------------------[![Join the chat at https://gitter.im/mcintyre321/mvc.jquery.datatables](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/mcintyre321/mvc.jquery.datatables?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
> Install-Package Mvc.JQuery.DataTables
> Install-Package Mvc.JQuery.DataTables.Templates *
[Demo site](http://aspdatatables.azurewebsites.net/)
![Example](http://snag.gy/FQFdn.jpg)- 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 or datetime 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 EmbeddedResourceVirtualPathProviderSee 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/
Note to users
-------------This library has been developed on an as-needed basis, so not all configuration settings from datatables are implemented yet. If you need a setting to be added, please fork the project, update the code, and update the example page to include a usage of the new setting (where this makes sense) e.g. https://github.com/mcintyre321/mvc.jquery.datatables/commit/c70f9c1f51178386e84a73ccea4495343f815012
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](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=mcintyre321&url=https://github.com/mcintyre321/mvc.jquery.datatables&title=Mvc.JQuery.DataTables&language=&tags=github&category=software)
> If you have found this project useful, please consider contributing some documentation - it's the biggest weakness!
THANKS
------To https://randomuser.me/ for the image thumbnails used in the example site