Introducing – MVC Tables

As briefly mentioned here I’ve finally finished a workable version of a sortable, pageable, filterable table framework for ASP.Net MVC. I’ve creatively dubbed this project “MVC Tables”.

I’ve put the code over at GitHub and there is a live example running on the Northwind OData service at http://mvctables.azurewebsites.net/
Continue reading

MVC Tables

 

Update 12-Sep-2013: https://mtranter.com/2013/09/11/mvc-tables/

As part of an MVC portal/admin app we’ve been working on recently, we required HTML Table rendering functionality that supported AJAXy paging/sorting/filtering etc.

We initially tried using the awesome¬†MVC classes for jquery DataTables, but this didn’t quite fit our needs. We didn’t need a lot of in-line editing, but what we did need was the ability to render cells from display/editor templates and partial views etc.

What we came up with was a fluently configurable table framework that used all that MVC goodness to easily generate highly customisable tables. These tables are sortable, pagable and filterable all on the server side via AJAX.
Continue reading