Skip to content

@jsvision/ui / GridHeaderConfig

Interface: GridHeaderConfig<T> ​

Defined in: ui/src/table/grid-rows.ts:345

Shared configuration handed from a DataGrid to its GridHeader.

Type Parameters ​

T ​

T

Properties ​

autoWidths ​

autoWidths: () => (number | null)[]

Defined in: ui/src/table/grid-rows.ts:349

The memoized auto-width measurement (shared with GridRows so both use identical geometry).

Returns ​

(number | null)[]


columns ​

columns: Column<T>[]

Defined in: ui/src/table/grid-rows.ts:347

The heterogeneous columns.


indent ​

indent: Signal<number>

Defined in: ui/src/table/grid-rows.ts:351

The horizontal cell offset (shared with the rows — the header pans in lockstep).


sort ​

sort: Signal<SortState>

Defined in: ui/src/table/grid-rows.ts:353

The active sort (this view draws its ▲/▼ indicator + a header click toggles it).