Interface: SdvGridOptions<Row>
Defined in: packages/sdvtables/src/aggrid.ts:62
What gridOptions returns: pass it to createGrid(el, options), or spread it onto <AgGridReact />.
Type Parameters
Row
Row
Properties
columnDefs
columnDefs:
ColDef<Row,any>[]
Defined in: packages/sdvtables/src/aggrid.ts:64
One column per spec column.
getRowId
getRowId: (
params) =>string
Defined in: packages/sdvtables/src/aggrid.ts:68
String(row[spec.rowKey]), else the row's index in rows; checked unique and not blank when built.
Parameters
params
GetRowIdParams<Row>
Returns
string
getRowStyle
getRowStyle: (
params) =>RowStyle|undefined
Defined in: packages/sdvtables/src/aggrid.ts:70
A team row's fill, text colour and hover and selected shades (teamRows); other rows keep the theme.
Parameters
params
RowClassParams<Row>
Returns
RowStyle | undefined
rowData
rowData:
Row[]
Defined in: packages/sdvtables/src/aggrid.ts:66
The rows, in their order.
rowHeight
rowHeight:
number
Defined in: packages/sdvtables/src/aggrid.ts:72
The theme's density as a row height in px, tall enough for the tallest image.
theme?
optionaltheme?:Theme<ThemeDefaultParams>
Defined in: packages/sdvtables/src/aggrid.ts:74
The theme as AG Grid theme params over the theme option's base; absent without that option.