This question is locked. New answers and comments are not allowed.
defining groups specifically in markup and disabling user created grouping (
Full grid definition:
what i'm trying to achieve is have grouping while not allowing the user to change the groups.
I have attached screen shots that show the problem.
Enabled(false)) cause the columns to render incorrectly..Groupable(grouping => grouping.Groups(groups => groups.Add(c => c.SeasonNumber)).Enabled(false))Full grid definition:
<%Html.Telerik().Grid(Model.Episodes).Name("episodes") .Columns(columns => { columns.Bound(c => c.EpisodeNumber).Width(10); columns.Bound(c => c.Title); columns.Bound(c => c.AirDate).Format("{0:d}").Width(150); }) .DetailView(detailView => detailView.Template(e => Html.RenderPartial("EpisodeDetail", e))) .Groupable(grouping => grouping.Groups(groups => groups.Add(c => c.SeasonNumber))) .Sortable(rows => rows.OrderBy(epSort => epSort.Add(c => c.EpisodeNumber)).Enabled(false)).Render();%>what i'm trying to achieve is have grouping while not allowing the user to change the groups.
I have attached screen shots that show the problem.