Skip to content

Table

A semantic data table with right-aligned tabular numbers, selection and contained horizontal scroll.

npx dtheo@latest add table
Bench 3, firmware 4.18.2. Selected: R-0412.
RunProfileResultKpOvershoot (%)Settling (ms)Peak torque (N·m)
R-0412High-gain stepFailed4.2017.61869.41
R-0411High-gain stepFailed3.9011.21748.90
R-0410Fast riseNear limit3.607.91928.63
R-0409Nominal stepPassed3.203.81588.30
R-0408Nominal stepPassed3.206.81618.54
R-0407Damped stepPassed2.805.21498.42

When to use

  • Run history, measurements, any rows people compare
  • Selecting rows to act on: useRowSelection adds Shift-click ranges, like a mail inbox
  • Layout: use grid or flex
  • A single record: use a description list

Examples

Selection

Click one, then ⇧ click another
RunProfileOvershoot
R-0412High-gain step17.6 %
R-0411High-gain step21.3 %
R-0410Fast rise9.4 %
R-0409Nominal step4.1 %
R-0408Nominal step6.8 %
R-0407Damped step3.2 %

Keyboard

Space
Select or clear the focused row
Shift + SpaceShift + click
Select every row between the last one and this one
  • Uses native table semantics; no ARIA grid unless cells are interactive.
  • Selected rows set aria-selected; every row checkbox is named after its row.

Used in