@kanunilabs/datagrid-react / GridFooterRowProps
Interface: GridFooterRowProps<TRow>
Type Parameters
TRow
TRow = GridRowData
Properties
bandOffset?
optionalbandOffset?:number
Pixels of BAND rows above — only meaningful at the top.
centerColumns
centerColumns:
ReactColumnRuntime<TRow>[]
checkboxColumn?
optionalcheckboxColumn?:boolean
defs
defs: readonly
SummaryDef<TRow>[]
Every definition currently active, keyed to columns by columnId.
detailColumn?
optionaldetailColumn?:boolean
emptyHint?
optionalemptyHint?:string
Shown in a cell with no aggregation, as the affordance for the menu.
headerRowsBetween?
optionalheaderRowsBetween?:number
Header-height rows between this row and its edge. See GridPinnedRows.
layout
layout:
ColumnLayout<TRow>
leadingSpacer
leadingSpacer:
number
onPickSummary?
optionalonPickSummary?: (columnId,event) =>void
Opens the aggregation menu for a column.
Parameters
columnId
string
event
MouseEvent
Returns
void
position?
optionalposition?:"top"|"bottom"
Which edge the totals stick to (P2.8). Bottom is the default and the spreadsheet convention; top is for a grid read top-down, where the totals are the headline and the rows are the evidence.
rowNumberColumn?
optionalrowNumberColumn?:boolean
Leading row-number column (gap analysis P3.5).
trailingSpacer
trailingSpacer:
number
values
values:
Record<string,number|null>