Header API Reference

constructHeader

Function: constructHeader()

ts
function constructHeader<TFeatures, TData, TValue>(
   table, 
   column, 
options): Header<TFeatures, TData, TValue>;

Defined in: core/headers/constructHeader.ts:31

Constructs a header instance from normalized table internals.

This wires core properties, feature prototype APIs, and instance data used by table rendering and row-model operations.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

TValue

TValue extends unknown = unknown

Parameters

table

Table_Internal\<`TFeatures`, `TData`\>

column

Column\<`TFeatures`, `TData`, `TValue`\>

options

depth

number

id?

string

index

number

isPlaceholder?

boolean

placeholderId?

string

Returns

Header\<`TFeatures`, `TData`, `TValue`\>