Skip to main content

Interface: RenderOptions

Defined in: packages/sdvtables/src/html/parts.ts:17

Properties​

css?​

readonly optional css?: "none" | "inline"

Defined in: packages/sdvtables/src/html/parts.ts:18


domainRows?​

readonly optional domainRows?: readonly unknown[]

Defined in: packages/sdvtables/src/html/parts.ts:35

J31 (A4): rows the scale/legend domains, outlier limits and row-accent levels are computed from, and the rows an index row selector (boldRows([5])) counts in; default the rendered rows. Interactive renders pass the table's full source rows (A49), so nothing re-colours or moves while the user pages, filters, sorts or brushes. It must hold the same row OBJECTS as rows (matched by identity, as the engine passes them), not equal copies: a rendered row missing from it is colored from its own value (a rank fill gets none) and warns once per column.


fonts?​

readonly optional fonts?: boolean

Defined in: packages/sdvtables/src/html/parts.ts:19


grid?​

readonly optional grid?: TableCursor

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

Task 10 (A48): with interactive, render the table as a selectable ARIA grid: role="grid" and aria-multiselectable="true" on the table, tabindex="0" on the body row whose index is grid.row (clamped to the rows) and "-1" on the others, aria-selected on every body row, and sdvt-col-current plus aria-current="true" on the header of grid.col. Ignored without interactive.


hidden?​

readonly optional hidden?: readonly string[]

Defined in: packages/sdvtables/src/html/parts.ts:25

Phase 5: engine-hidden column keys (merged with decoration-hidden columns); a key that is not a column throws TableSpecError


interactive?​

readonly optional interactive?: boolean

Defined in: packages/sdvtables/src/html/parts.ts:21

Phase 5: a sort button on every sortable !== false column, and aria-sort on the sorted one


selected?​

readonly optional selected?: ReadonlySet<number>

Defined in: packages/sdvtables/src/html/parts.ts:27

J31 (A5): page-relative indices of selected rows → sdvt-selected on their <tr>


sort?​

readonly optional sort?: Sort | null

Defined in: packages/sdvtables/src/html/parts.ts:23

Phase 5: the engine's current sort, for aria-sort