Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 11 Next »

Lead:  Liav Nadler   ONGOING     

Related Pages: << Links to related pages, if relevant >>


Description

A tree table is a type of data table, where each row can be expanded to reveal related child rows

Usage & Behaviour

A tree table is similar to a basic table, with the exceptions described below:

  • The first column of the table (e.g Name):
    • Cannot be moved
    • Contains icons on each row, allowing the user to expand and collapse them
  • All rows will be collapsed by default, unless otherwise specified
  • Expanding a row will reveal at least one child row
  • On child rows:
    • The text of the first column is indented in relation to parent rows
    • All other cells may be similar to the parent rows or blank (if child row does net share the same values)
  • If the table has a checkboxes column, clicking a parent checkbox will check all child checkboxes. For more information see Checkboxes 
  • Table rows may be draggable (see example above). For more information see Drag & Drop
  • Sorting the first column will sort only by the parent rows, keeping other rows intact (including the collapse / expand state)

Accessibility compliance

<<In general each component should be A11y complied,  please follow the 3 guidelines linked below. At the very least we should document that each component is in compliance with each of the 3>>

Focus management

<<How will the component work with keyboard only - without a mouse. Can be reference if written above

We already set a general guidelines described in /wiki/spaces/UX/pages/308969693 >>

Screen reader support 

<<Make sure the components support screen reader for content or behaviour where needed - see /wiki/spaces/UX/pages/308248620 >>

Contrast & size compliance

<<Visual designers must comply with the minimal of /wiki/spaces/UX/pages/301498483 for each component>>

Design

Zeplin linkScreen thumbnail

<<Short Zeplin link. You
Use this
>>

<<Screen with 200 width>>


Code

<<a box containing the code - discuss with Femi>>

  • No labels