Catalogue element
bry-spreadsheet
A table whose cells are live elements, with pinned columns and per-column sort and hide.
Settings
| Setting | Takes | Needed |
|---|---|---|
label | text, at most 200 characters | no |
columns | a list of at most 16: a record of key, heading, width, pinned, sortable, hideable, movable, resizable (needs key, heading) | yes |
sort | a record of key, direction (needs key, direction) | no |
selectable | true or false | no |
selected | a whole number from 0 to 100000 | no |
total | a whole number from 0 to 100000 | no |
loading | true or false | no |
empty | text, at most 200 characters | no |
Example
JSX
<bry-spreadsheet label={"Issues"} selectable={true} total={1} columns={[{"key":"title","heading":"Title","width":"fill","pinned":true,"sortable":true},{"key":"status","heading":"Status","width":"md","sortable":true,"hideable":true}]}>
<bry-spreadsheet-group label={"In Progress"} mark={"started"} tone={"warn"} count={1} />
<bry-spreadsheet-row label={"WEB-12"}>
<bry-text text={"Search ignores accents"} variant={"ui"} />
<bry-badge text={"In Progress"} tone={"warn"} />
</bry-spreadsheet-row>
</bry-spreadsheet>Renderer contact sheet
These paths will hold the checked light and dark captures.

