Facts
Read-only figures, as a detail column or a totals summary.
Use facts to show figures that people read but do not edit. variant="list" is a titled column for a detail panel. variant="totals" is a money summary with a large total. Numbers use the same format as the data grid, in one colour: the currency sign, digits and cents are not muted.
Items
items is a list of rows. Set it as a property, or as JSON in the attribute.
| Field | Meaning |
|---|---|
label | Row label. Text only. |
value | The figure. 0 shows as a muted 0 (or $0.00); null shows "—" for no value. |
type | number, currency, percent or text. Default: number for a number, else text. |
note | Small text after the label: "not yet fulfilled". |
tip | An info button after the label with this text. |
tone | danger colours the label and value red. |
total | totals only: the row shown large under the rule. |
Side-by-side lists line up row by row only when they have the same number of rows. Set rule on the second and later lists for a divider.
Totals
- The item with
total: trueshows large under a rule. baselineis the saved total. When the total differs, an amber line shows the change: "+$1,240.60 since last save". Setdelta-labelto change the words.- Put a memo or any other line above the rows with
slot="header".
Accessibility
The rows are a description list, so screen readers read each label with its value. The element is a group named by its heading, or "Totals". The change line reads "Changed: +$1,240.60 since last save".
API
Attributes
Prop
Type
Properties
Prop
Type
Slots
Prop
Type
CSS parts
Prop
Type
Dialog
Modal dialog with a heading, body and footer.
Field group
Read-only label and value pairs in a band, under a small heading.
NSUI is a community project. It is not an official Oracle NetSuite product. NetSuite is a trademark of Oracle.