Projects/Usability/HIG/TableView

From KDE TechBase
< Projects‎ | Usability‎ | HIG
Revision as of 12:52, 24 September 2013 by Htietze (talk | contribs) (Created page with "{{Under_Construction}} __NOTOC__ == Purpose == A ''table view'' (also known as grid or spreadsheet) is a graphical control to present data in an ordered arrangement of rows ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
noframe
noframe
 
Under Construction
This page is under construction. This page is actively being developed and updated with new information, and may be incomplete. You can help by editing this page



Purpose

A table view (also known as grid or spreadsheet) is a graphical control to present data in an ordered arrangement of rows and columns. The intersection of a row and a column is a cell. The elements of a table may be grouped, segmented, or arranged in many different ways, and even nested recursively.

Table views provide navigation by clicking on a cell with the mouse, or by using the arrow keys. You can also hit Tab and Backtab to move from cell to cell.

The items shown in a table view, like those in the other item views, are rendered and edited using standard delegates. However, for some tasks it is sometimes useful to be able to insert widgets in a table instead. Widgets are set for particular indexes with the setIndexWidget() function, and later retrieved with indexWidget().

As a communication tool, a table allows a form of generalization of information from an unlimited number of different social or scientific contexts. It provides a familiar way to convey information that might otherwise not be obvious or readily understood.


Example

Guidelines

Is this the right control

Behavior

  • Avoid horizontal scrollbars.
  • Provide inline editing for tables.
  • Do not use selection to indicate state. Instead, use check marks and accessory views for showing state.
  • Allow tables to be extended by users in both directions.
  • Provide copy/paste feature for single as well as multiple selected cells, if approprioate.

Appearance

  • Distinguish tables from lists by a bevel.
  • Use fixed column header.

Implementation