Datatable grid
Name Surname Marital status Age Birthday Is working
Joe Crosswave Married 31 1/5/1988 12:00:00 AM False
Merry Lisel Widowed 41 5/6/1978 12:00:00 AM
Henry Crux Single 28 11/19/1990 12:00:00 AM True
View

@model DataTable

@(Html
    .Grid(Model.Rows.Cast())
    .Build(columns =>
    {
        columns.Add(model => model["Name"] as String).Filterable(true).Sortable(true).Named("name").Titled("Name");
        columns.Add(model => model["Surname"] as String).Filterable(true).Sortable(true).Named("surname").Titled("Surname");
        columns.Add(model => model["MaritalStatus"] as String).Filterable(true).Sortable(true).Named("marital-status").Titled("Marital status");

        columns.Add(model => model["Age"] as String).Filterable(true).Sortable(true).Named("age").Titled("Age");
        columns.Add(model => model["Birthday"] as String).Filterable(true).Sortable(true).Named("birthday").Titled("Birthday");
        columns.Add(model => model["IsWorking"] as String).Filterable(true).Sortable(true).Named("is-working").Titled("Is working");
    })
    .Empty("No data found")
    .Pageable(pager =>
    {
        pager.RowsPerPage = 3;
    })
)