Catalogue element
bry-table
Rows and sortable columns.
Settings
| Setting | Takes | Needed |
|---|---|---|
columns | a list of at most 12: a record of key, heading, align, sortable (needs key, heading) | yes |
rows | a list of at most 500: a record of id, cells (needs id, cells) | no |
sort | a record of key, direction (needs key, direction) | no |
label | text, at most 200 characters | no |
selectable | true or false | no |
selected | text, at most 128 characters | no |
loading | true or false | no |
empty | text, at most 200 characters | no |
Example
JSX
<bry-table label={"Issues"} columns={[{"key":"title","heading":"Title","sortable":true},{"key":"status","heading":"Status"}]} rows={[{"id":"1","cells":["Crash on save","To do"]},{"id":"2","cells":["Search ignores accents","Doing"]}]} selectable={true} selected={"2"} />Renderer contact sheet
These paths will hold the checked light and dark captures.

