| Master Detail | Version 2.0.0.2 |
||
|
|||
| Description | |
The Master Detail design pattern enables users to quickly move through records using a master (table, tree table, or tree), select an individual record from this master, and then view corresponding details about that record in a detailed region below--all on one single dense page. |
| Pattern Set Decision Table | |
Master Detail |
||||
Is there a lot of object information that needs to be viewed or updated? |
Yes |
No |
Yes |
Yes |
Does the user need the context of other records while viewing the details of a specific record? |
No |
Yes |
No |
Yes |
Is there a need to quickly scan through records? |
No |
Yes |
No |
Yes |
Is there a need to compare certain attributes of these records against each other? |
No |
Yes |
No |
Yes |
Is the user working on very large objects, spending considerable time focusing on only those details? |
Yes |
No |
No |
Maybe |
Is the user working through a list of objects quickly? |
No |
Yes |
No |
Yes |
Is there a need to update or take action on multiple objects as a group? |
No |
Maybe |
Maybe |
Yes |
When to Use the Master Detail Pattern:
Why Use the Master Detail Pattern:
|
| Layout Options | |
| Master and Detail should be in the same level unless the Master is the header section then the Detail should appear in the sub-header section. In the following examples, the master is represented by the following components. The detail can be any type of layout (label or data, table, tree table, subtabs, and so on). |
Navigation of Records on |
Table over Detail |
Tree Table over Detail |
Tree over Detail |
Number of master objects? |
Many |
Many |
Many |
Scope of details on page? |
Large |
Large |
Very Large |
Type of master object (attribute) information? |
Homogenous |
Some Homogenous |
Heterogeneous |
| Pattern Samples | |
| Table (Master)/Label Data Pairs (Detail) |
| When the user selects an employee from the master table, the corresponding employee details appear in the region below in a label or data format. |
![]() |
| Figure 1. The selected employee's details appear in the region below |
| Required Screen Elements | ||
| Component Type | Required Components | Customizable or Extendable Components |
| Page Title |
See the Header usage guidelines for master/detail header syntax. |
NA |
| Page Buttons | If the page contains fields that you can edit:
|
NA |
| Table (Master) Selection | Updates the contents in the Detail section. If the master table is empty, the details section should only contain the instruction text "No data to display." |
NA |
| Disclosure Icon Button | Hide or collapse either the Master or Detail section. The location of the Disclosure icon button affects interaction style:
|
Note: The expand/collapse state of the details section should not depend on the content of the master table. |
| Table (Master)/Tree Table (Detail) |
| When the user selects a project from the master table, the corresponding project details appear in a tree table in the region below. |
![]() |
| Figure 2. Table master and tree table details |
| Required Screen Elements | ||
| Component Type | Required Components | Customizable or Extendable Components |
| Page Title |
See the Header usage guidelines for master/detail header syntax. |
NA |
| Page Buttons | If the page contains fields that you can edit:
|
NA |
| Table (Master) Selection | Updates the contents in the Detail section. If the master table is empty, the details section should only contain the instruction text "No data to display." |
NA |
| Disclosure Icon Button | Hide or collapse either the Master or Detail section. The location of the Disclosure icon button affects interaction style:
|
Note: The expand/collapse state of the details section should not depend on the content of the master table. |
| Table (Master)/Subtabs (Detail) |
| When the user selects an employee from the master table, the corresponding employee details appear in the region below in a subtab format. |
![]() |
| Figure 3. Selecting an employee in the master table displays that employee's details in the subtab region below |
| Required Screen Elements | ||
| Component Type | Required Components | Customizable or Extendable Components |
| Page Title |
See the Header usage guidelines for master/detail header syntax. |
NA |
| Page Buttons | If the page contains fields that you can edit:
|
NA |
| Table (Master) Selection | Updates the contents in the Detail section.
|
NA |
| Disclosure Icon Button | Hide or collapse either the Master or Detail section. The location of the Disclosure icon button affects interaction style:
|
Note: The expand/collapse state of the details section should not depend on the content of the master table. |
| Table (Master)/Tables (Detail) |
| When the user selects a project from the master table, the corresponding project tasks appear in the detail region below in a tabular format. |
![]() |
| Figure 4. Selecting a project from the master table displays the corresponding project tasks in the detail region below |
| Required Screen Elements | ||
| Component Type | Required Components | Customizable or Extendable Components |
| Page Title |
See the Header usage guidelines for master/detail header syntax. |
NA |
| Page Buttons | If the page contains fields that you can edit:
|
NA |
| Table (Master) Selection | Updates the contents in the Detail section. If the master table is empty, the details section should only contain the instruction text "No data to display." |
NA |
| Disclosure Icon Button | Hide or collapse either the Master or Detail section. The location of the Disclosure icon button affects interaction style:
|
Note: The expand/collapse state of the details section should not depend on the content of the master table. |
| Related Patterns | |
The master object enables a certain level of record comparison; the compare object pattern demonstrates how to extend that comparison ability. |
|
Hierachies are used to present detail information in a hierarchy, with the ability to expand and collapse branches while presenting multiple dimensions of data in columns. |
|
These forms are used to provide varying amounts of preformatted information, usually short answers to questions. This is a common layout for a detail section in a master/detail layout. |
|
A variety of update methods pertain to a master/detail layout. This pattern outlines those methods, as well as master/detail use in an update context. |
| Related Guidelines | |
Guidelines for form layout |
|
Guidelines for headers and subheaders |
|
Guidelines for the table component |