This question is locked. New answers and comments are not allowed.
I want to create a Grid from a model that has a member field that's an array of int's (int[]) and bind each element of the array to a different column that is sortable/groupable/filterable. Is there a way to easily do this?
Ideally it would look something like this:
Thanks in advance!
FWI, this currently throws an error about not being able to extract the Member information from the expression.
Ideally it would look something like this:
Html.Telerik().Grid(Model) .Name("Grid") .Columns(columns => { columns.Bound(o => o.OrderID).Width(100); columns.Bound(o => o.ContactName).Width(200); columns.Bound(o => o.ShipAddress); columns.Bound(o => o.OrderDate).Format("{0:MM/dd/yyyy}").Width(120); columns.Bound(o => o.ArrayField[0]).Title("Something"); columns.Bound(o => o.ArrayField[1]).Title("Something2"); })Thanks in advance!
FWI, this currently throws an error about not being able to extract the Member information from the expression.