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

@model DataTable

@(Html
    .Grid(Model.Rows.Cast<DataRow>())
    .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;
    })
)