| Name | Surname | Age | Birthday |
|---|---|---|---|
| Joe | Crosswave | 32 | 1/5/1993 |
| Merry | Lisel | 42 | 5/6/1983 |
| Henry | Crux | 29 | 11/19/1995 |
| Cody | Jurut | 50 | 8/11/1975 |
| Simon | Scranton | 35 | 10/10/1990 |
| Leena | Laurent | 20 | 7/1/2005 |
| Ode | Cosmides | 54 | 4/17/1971 |
| Diandra | Mizner | 21 | 8/20/2004 |
| Pete | Cassel | 23 | 3/13/2002 |
| Nicky | Tremblay | 32 | 1/5/1993 |
| Mary | Cassel | 25 | 7/10/2000 |
| Name | Surname | Age | Birthday |
|---|---|---|---|
| Joe | Crosswave | 32 | 1/5/1993 |
| Merry | Lisel | 42 | 5/6/1983 |
| Henry | Crux | 29 | 11/19/1995 |
| Cody | Jurut | 50 | 8/11/1975 |
| Simon | Scranton | 35 | 10/10/1990 |
| Leena | Laurent | 20 | 7/1/2005 |
| Ode | Cosmides | 54 | 4/17/1971 |
| Diandra | Mizner | 21 | 8/20/2004 |
| Pete | Cassel | 23 | 3/13/2002 |
| Nicky | Tremblay | 32 | 1/5/1993 |
| Mary | Cassel | 25 | 7/10/2000 |
@model IQueryable<Person>
@(Html
.Grid(Model)
.Build(columns =>
{
columns.Add(model => model.Name).Titled("Name");
columns.Add(model => model.Surname).Titled("Surname");
columns.Add(model => model.MaritalStatus).Titled("Marital status");
columns.Add(model => model.Age).Titled("Age");
columns.Add(model => model.Birthday).Titled("Birthday").Formatted("{0:d}");
columns.Add(model => model.IsWorking).Titled("Employed");
})
.Empty("No data found")
.Named("first")
.Filterable()
.Sortable()
)
@model IQueryable<Person>
@(Html
.Grid(Model)
.Build(columns =>
{
columns.Add(model => model.Name).Titled("Name");
columns.Add(model => model.Surname).Titled("Surname");
columns.Add(model => model.MaritalStatus).Titled("Marital status");
columns.Add(model => model.Age).Titled("Age");
columns.Add(model => model.Birthday).Titled("Birthday").Formatted("{0:d}");
columns.Add(model => model.IsWorking).Titled("Employed");
})
.Empty("No data found")
.Named("second")
.Filterable()
.Sortable()
)