Misplaced Pages

Master–detail interface

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Redirected from Master-detail)

In computer user interface design, a master–detail interface displays a master list and the details for the currently selected item. The original motivation for master detail was that such a view table on old 1980s 80-character-wide displays could only comfortably show about four columns on the screen at once, while a typical data entity will have some twenty fields. The solution is that the detail shows all twenty fields and the master shows only the commonly recognised three to five that will fit on the screen in one row without scrolling.

A master area can be a form, list or tree of items, and a detail area can be a form, list or tree of items typically placed either below or next to the master area. Selecting an item from the master list causes the details of that item to be populated in the detail area.

Data model

In CODASYL databases it's called 'owner-member'

A master–detail relationship is a one-to-many type relationship. Examples of a master-detail relationship are: a set of purchase orders and a set of line items belonging to each purchase order, an expense report with a set of expense line items or a department with a list of employees belonging to it. An application can use this master-detail relationship to enable users to navigate through the purchase order data and see the detail data for line items only related to the master purchase order selected.

See also

Notes

  1. "Master/Detail Templates". Oracle. Archived from the original on 2006-05-26. Retrieved 2008-11-15.
  2. Mitchell, Scott (June 2006). "Tutorial 7: Master/Detail Filtering With a DropDownList". Microsoft Developer Network. Retrieved 2008-04-18.
  3. "Creating a Master-Detail Interface". Apple. Archived from the original on 2009-02-14. Retrieved 2008-11-15.


Stub icon

This computer-programming-related article is a stub. You can help Misplaced Pages by expanding it.

Categories: