Hierarchical Data
Regular grids and CollectionView objects are great for dealing with flat data but not with data structures having hierarchical structure. However, FlexGrid provides a few properties and extensions to help you deal with such data structures as well.
The next topics show different ways to handle hierarchical data with FlexGrid, including Master-Detail, Tree Grids, and Row Details.
1 2 3 4 5 6 7 8 9 10 11 12 13 | using System.Web.Mvc; namespace LearnMvcClient.Controllers { public partial class C1FlexGridController : Controller { // GET: HierarchicalData public ActionResult HierarchicalData() { return View(); } } } |
1 2 3 4 5 6 7 8 9 | < h1 > @Html .Raw(Resources.C1FlexGrid.HierarchicalData_Title) </ h1 > < p > @Html .Raw(Resources.C1FlexGrid.HierarchicalData_Text1) </ p > < p > @Html .Raw(Resources.C1FlexGrid.HierarchicalData_Text2) </ p > |