@jsvision/datagrid / GridFooter
Interface: GridFooter
Defined in: datagrid/src/grid-footer.ts:22
The footer configuration a caller passes to the grid's footer option: a row of column-aligned aggregates and/or a row of free-form widgets.
Properties
aggregates?
readonlyoptionalaggregates?:Record<string,AggregateSpec>
Defined in: datagrid/src/grid-footer.ts:34
Per-column aggregates, keyed by columnId. Each renders a total aligned under its column, folded over the displayed rows. An entry whose key is not a known column, or whose fn is not a built-in reduction, is ignored (with a dev warning).
sticky?
readonlyoptionalsticky?:boolean
Defined in: datagrid/src/grid-footer.ts:28
Keep the footer visible while the body scrolls. Defaults to true; v1 footers are always sticky (the fixed-band layout gives it for free), so a false here is reserved — it is treated as true with a dev warning until a non-sticky/inline footer ships.
widgets?
readonlyoptionalwidgets?: readonlyView[]
Defined in: datagrid/src/grid-footer.ts:39
A free-form widget row — any Views (totals Text, command Buttons, the reactive "N of M" and selection-count read-outs), laid out in a flow row spanning the footer band.