
An AJAX/HTML Table framework for ASP.Net MVC
Supports:
- paging,
- sorting,
- filtering,
- MVC Edit/Display templates for cell markup,
- Partial Views for cell markup,
- HtmlHelper style column configuration
- Fluent configuration
To save loads of messy boiler plate code clogging up Controller actions, the tables can be configured at startup.
Any class that inherits TableConfigurator<TType>
can be registered int the global.asax thusly:
- Global.asax
- Usage - Action Method
- Auto Configuration
- Basic Configuration
- More Complex Configuration
SetName("ChildOrderDetails");
}
}
<dl>
<dt>Runtime Configuration Overrides - Action Method</dt>
<dd></dd>
</dl>
```C#
public ActionResult ListEmployees(TableRequestModel request)
{
var entities = new NorthwindEntities.NorthwindEntities(NorthwindServiceUrl);
var result = new TableResult<Employee>(entities.Employees, request);
// Override configuration
result.Overrides.EditorForColumn(d => d.HireDate, cfg => cfg.SetIndex(1));
return result;
}