Catalogue element

bry-datagrid

An Airtable-style grid drawn from data: typed cells, a frozen first column, a range to copy, paste or fill, and a footer of totals.

Settings

SettingTakesNeeded
labeltext, at most 200 charactersno
columnsa list of at most 200: a record of key, heading, type, width, readOnly, primary, precision, symbol, max, choices, statistic, description (needs key, heading, type)yes
rowsa list of at most 500: a record of id, cells (needs id, cells)no
offseta whole number from 0 to 50000no
totala whole number from 0 to 50000no
groupsa list of at most 500: a record of at, label, count, depth (needs at, label)no
frozena whole number from 0 to 10no
linesone, two, three, fourno
editabletrue or falseno
addabletrue or falseno
selectabletrue or falseno
selecteda list of at most 500: text, at most 128 charactersno
sorta record of key, direction (needs key, direction)no
searchtext, at most 200 charactersno
loadingtrue or falseno
emptytext, at most 200 charactersno

Example

JSX

<bry-datagrid label={"Vendors"} editable={true} addable={true} total={2} columns={[{"key":"name","heading":"Name","type":"text","primary":true},{"key":"stage","heading":"Stage","type":"select","choices":[{"value":"Active","hue":"green"},{"value":"Review","hue":"orange"}]},{"key":"spend","heading":"Spend","type":"currency","symbol":"$","precision":2,"statistic":"Sum 4,620.00"},{"key":"renewal","heading":"Renewal","type":"date"},{"key":"paid","heading":"Paid","type":"checkbox"}]} rows={[{"id":"r1","cells":["Acme Hosting","Active","4200","2027-01-31","true"]},{"id":"r2","cells":["Globex","Review","420","2026-11-15",""]}]} />

Renderer contact sheet

These paths will hold the checked light and dark captures.

Light
bry-datagrid light renderer capture
Dark
bry-datagrid dark renderer capture