Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Description

A spreadsheet Spreadsheet table is a type of data tableData Table where users can add and edit numeric data on a within the grid.

...

Usage & Behaviour

General Guidelines

Structure

An extended rows table is similar to a standard Data Table.

  • The table contains a grid of rows and columns.

  • The table may contain:

    • Header a header row.

    • Header a header column.

    • Total a total row.

  • If the table is higher than its container, a scroll bar Scrollbar will appear. The scroll bar scrollbar will not affect the header and or title rows, if existswhere they exist.

Content

  • Numbers inside cell cells will be aligned to the right.

States

State

Example

Comments

Normal (Enabled)Regular

MouseoverHover

Selected

In Focus

Disabled

Image Added

No Data

Image Added

Error

Image Added

See Field Validation.

Focused (edit mode)

Only one cell can be in focus at any time

Disabled

Image Removed

No Data

Image Removed

Error

Image Removed

See Field Validation.

Interaction

  • Clicking a cell will:

    • Selects select the cell.

    • Deselects deselect all other cells.

    • Sets change the focus to the cellcell to an input field, allowing the user to edit it.

    • If the cell is already in focus, clicking the cell will place the insertion point on cursor location.

  • Hitting the Enter key when a cell is selected or in focusfocused will:

    • Saves save the text in the cell (if it exists)Switches .

    • remove the input field, returning the cell from edit mode to the selected state.

  • Hitting the Tab key / or the arrow keys when a cell is selected or in focusfocused will:

    • Saves save the text in the cell (if it exists).

    • Deselects deselect the cell.

    • Moves move the focus to the next relevant next cell, while skipping disabled cells.

  • Dragging the cursor over a group of cells selects that group of cells.

  • A focused cell in focus will have a special handle at in the bottom-right corner (see states above)

    Mouseover

    . See States above.

    • Hovering over the handle will switch the cursor to a cross.

    • Dragging the handle will copy the content of the cell to the target cells.

  • The user can cut, copy, and paste cell content using Ctrl / Cmd + X, C and V respectably respectively.

Validations and Errors

Errors may include:

  • Typing

    typing long text in a cell.

  • Typing

    typing invalid data in a cell.

  • Deleting

    deleting mandatory cells.

For more information please refer to the Field Validation page.

Best Practices

Use

...

:

  • when the spreadsheet table when it supports another set of data, for example, such as a graph.

Accessibility compliance

Unless otherwise specified, see our general compliance information in Fundamentals - Accessibility.

Design

Zeplin link

Screen thumbnail

<<Zeplin Link>>

<<Screen with 200 width>>



...