Skip to main content

Interface: RenderContext<Row>

Defined in: packages/sdvtables/src/html/cells.ts:32

Decided once here; Tasks 7, 8 and 10 fill the maps (index.ts passes them empty until then).

Type Parameters​

Row​

Row

Properties​

columns​

readonly columns: readonly ColumnSpec<Row>[]

Defined in: packages/sdvtables/src/html/cells.ts:40


domainRows​

readonly domainRows: readonly Row[]

Defined in: packages/sdvtables/src/html/cells.ts:36

J31 (A4): the rows scale and legend domains come from (RenderOptions.domainRows, default rows).


groupKey​

readonly groupKey: string | undefined

Defined in: packages/sdvtables/src/html/cells.ts:41


id​

readonly id: string

Defined in: packages/sdvtables/src/html/cells.ts:38


recorded​

readonly recorded: ColumnScale | undefined

Defined in: packages/sdvtables/src/html/cells.ts:48

Task 8: the last scale in column order — what gt_legend_continuous reads back as _sdvplot_scale.


rows​

readonly rows: readonly Row[]

Defined in: packages/sdvtables/src/html/cells.ts:34


scaled​

readonly scaled: Map<string, { decimals: number; divisor: number; }>

Defined in: packages/sdvtables/src/html/cells.ts:50

Task 10: scaleNote divisor + decimals per num/int column; applyDecorations fills it before the row loop.


scales​

readonly scales: ReadonlyMap<string, ColumnScale>

Defined in: packages/sdvtables/src/html/cells.ts:46

Task 8: scales per pills/ranks/percentile column, keyed by column key.


sel​

readonly sel: string

Defined in: packages/sdvtables/src/html/cells.ts:39


spec​

readonly spec: TableSpec<Row>

Defined in: packages/sdvtables/src/html/cells.ts:33


teamIds​

readonly teamIds: ReadonlyMap<string, readonly (string | undefined)[]>

Defined in: packages/sdvtables/src/html/cells.ts:44

Task 7: team ids per team column, ONE resolveSync per column (J28), keyed by the column key.


theme​

readonly theme: Theme

Defined in: packages/sdvtables/src/html/cells.ts:37


warn​

readonly warn: (key, message) => void

Defined in: packages/sdvtables/src/html/cells.ts:42

Parameters​

key​

string

message​

string

Returns​

void