Nested DataGrid - Drilling Into a Dataset
In this example, we will demonstrate how to create a nested DataGrid.
In a top-level grid, we will list projects; for each of the projects, and through an expand/collapse button,
we'll see the list of team members involved in the project. For each of those people, we'll be able to drill down to
the list of addresses that we have on file.
Moreover, you can enable inline editing for any of these datagrids - as demostrated in the example below
for the addresses. If you want to learn the basics of inline editing for datagrids, go through this example.
Some pieces to pay attention to:
- Master DataGrid for Project should go on the FORM.
- Children (Team Members and Addresses) must be wrapped in a Panel, that in turn contains a DataGrid.