/* Here is the Child QDataGrid... */ * Nested QDataGrid - QCubed PHP 5 Development Framework - Examples

Nested QDataGrid - Drilling Into a Dataset

In this example, we will demonstrate how to create a nested QDataGrid.

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 QDataGrid for Project should go on the FORM.
- Children (Team Members and Addresses) must be wrapped in a QPanel, that in turn contains a QDataGrid.
Previous|12|Next Results: Viewing items 1-3 of 4.
Id Project Project Status Type Description Start Date End Date Budget Spent
               
1 ACME Website Redesign Completed The redesign of the main website for ACME Incorporated Mar 01 2004 Jul 01 2004 9560 10251
2 Blah Open Implementation of a back-office Human Resources system for State College Feb 15 2006 80500 73200
3 Blueman Industrial Site Architecture Open Main website architecture for the Blueman Industrial Group Mar 01 2006 Apr 15 2006 2500 4201