Hi,
I have a grid that contains this column (simplified for clarity):
columns.Bound(c => c.Status)
.Filterable
(
f => f.Extra(false).Multi(true).CheckAll(true).BindTo
(new[]
{
new { Status = "New" },
new { Status = "Started" },
new { Status = "Completed" }
})
);
I want both "New" and "Started" to be checked by default when the page is first displayed.
In the DataSource, I have this code:
.DataSource
(
.Filter
(
f => f
.Add(x => x.Status).IsEqualTo("New")
)
)
However, I cannot figure out how to add a second value, "Started", so that both are checked by default. How can I do this?
Thanks.