Result

ProductNameQuantityRegionSalespersonDiscount
Guaraná Fantástica12Andrew Fuller
Pâté chinois20Andrew Fuller
Rhönbräu Klosterbier30Andrew Fuller
Alice Mutton30Andrew Fuller
Outback Lager20Andrew Fuller
Boston Crab Meat30Andrew Fuller
Singaporean Hokkien Fried Mee30Andrew Fuller
Manjimup Dried Apples20Andrew Fuller
Grandma's Boysenberry Spread12BCAndrew Fuller
Ikura30BCAndrew Fuller

Config

    public class InvoiceTable : MvcTable<Invoice>
    {
        public override void Configure(IStaticTableConfiguration<Invoice> config)
        {
            config
                .SetAction("ListInvoices","Northwind")
                .SetCssClass("table table-striped")
                .SetDefaultSortColumn(m => m.Salesperson, true)
                .DisplayForColumn(m => m.ProductName)
                .DisplayForColumn(m => m.Quantity)
                .DisplayForColumn(m => m.Region)
                .DisplayForColumn(m => m.Salesperson)
                .EditorForColumn(m => m.Discount);
        }
    }

Child Action

        public ActionResult ListInvoices(TableRequestModel request)
        {
            var entities = new NorthwindEntities(NorthwindServiceUrl);
            return TableResult.From(entities.Invoices).Build<InvoiceTable>(request);
        }