This question is locked. New answers and comments are not allowed.
I have the following grid:
It renders correctly and if I removed any of the groups from the grouping bar, it works as expected. If, however, I drag a column to the grouping bar, I get an error on line 136 of telerik.common.js (2010.2.825). See the attached image. If I click Ignore in the debugger, it will correctly add the dragged column and grouping. My grid is in a panel bar if that has any relevance.
Thanks for any help on this.
<% Html.Telerik().Grid<SCADAArchives.Models.Analog.ScalcEntry>() .Name("AmpsGrid") .BindTo((IEnumerable<SCADAArchives.Models.Analog.ScalcEntry>)ViewData["AmpsGrid"]) .Columns(columns => { columns.Bound(o => o.Substn).Template(o => { %> <%= o.Substn%>.<%= o.Devtyp%>.<%= o.Device%>.<%= o.Analog%> <% }); columns.Bound(o => o.TimeEnd).Title("Time Ending"); columns.Bound(o => o.AvgVal).Format("{0:F2}").Title("Average"); columns.Bound(o => o.TimeMin).Format("{0:t}").Title("Min Time"); columns.Bound(o => o.MinVal).Format("{0:F2}").Title("Min"); columns.Bound(o => o.TimeMax).Format("{0:t}").Title("Max Time"); columns.Bound(o => o.MaxVal).Format("{0:F2}").Title("Max"); columns.Bound(o => o.SnapVal).Format("{0:F2}").Title("Snap Shot"); columns.Bound(o => o.TimeMax).Format("{0:t}").Title("Max Time"); columns.Bound(o => o.Samples).Template(o => { %> <%= o.Samples%>% <% }).Title("Sampled"); columns.Bound(o => o.Suspect).Template(o => { %> <%= o.Suspect%>% <% }).Title("Suspect"); columns.Bound(o => o.Replaced).Template(o => { %> <%= o.Replaced%>% <% }).Title("Replaced"); columns.Bound(o => o.Old).Template(o => { %> <%= o.Old%>% <% }).Title("Old"); }) .Groupable(grouping => grouping .Groups(groups => { groups.Add(c => c.Substn); groups.Add(c => c.Devtyp); groups.Add(c => c.Device); groups.Add(c => c.Analog); }) ) .Render(); It renders correctly and if I removed any of the groups from the grouping bar, it works as expected. If, however, I drag a column to the grouping bar, I get an error on line 136 of telerik.common.js (2010.2.825). See the attached image. If I click Ignore in the debugger, it will correctly add the dragged column and grouping. My grid is in a panel bar if that has any relevance.
Thanks for any help on this.