Razor Nested WebGrid

Excuse the verbose data setup but this works… @{ var data = Enumerable.Range(0, 10).Select(i => new { Index = i, SubItems = new object[] { new { A = “A” + i, B = “B” + (i * i) } } }).ToArray(); WebGrid topGrid = new WebGrid(data); } @topGrid.GetHtml(columns: topGrid.Columns( topGrid.Column(“Index”), topGrid.Column(“SubItems”, format: (item) => … Read more