Back to Table

constructHeader

docs/reference/functions/constructHeader.md

8.21.3961 B
Original Source

Function: constructHeader()

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

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

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>