Record header
Title line of a record with its status and a foldable band.
Use a record header to head one record in a purpose-built tool: the record type and number, its status, actions on the right, and a band of fields under it that the fold button shows or hides. Put a field group in the band and totals in the aside slot.
Status
status is the text NetSuite reports. status-tone sets its colour and icon. The text always shows, so colour is never the only cue.
status-tone | Icon | Colour |
|---|---|---|
info | clock | info |
success | check circle | success |
warning | warning mark | warning |
neutral (default) | minus circle | muted |
Fold
The fold button hides or shows the band and the aside. They appear and disappear at once; only the chevron turns. collapsed is reflected. The togglecollapse event fires with detail.collapsed before the change, and preventDefault() keeps the current state. Setting collapsed from code fires no event.
The band and the aside sit side by side, and stack when the header is narrower than 760px.
Accessibility
- The header is a region named by its type and number: "Sales order SO51369".
- The fold button is named "Hide sales order details" or "Show sales order details", and has
aria-expanded. - Buttons in the
actionsslot keep their own names. Give icon buttons anaria-label.
API
Attributes
Prop
Type
Events
Prop
Type
Slots
Prop
Type
CSS parts
Prop
Type
NSUI is a community project. It is not an official Oracle NetSuite product. NetSuite is a trademark of Oracle.