TanStack
Header API Reference

AppHeaderContext

Type Alias: AppHeaderContext<TFeatures, TData, TValue, THeaderComponents>

ts
type AppHeaderContext<TFeatures, TData, TValue, THeaderComponents> = object;

Defined in: createTableHook.tsx:59

Enhanced HeaderContext with pre-bound header components. The header property includes the registered headerComponents.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

TValue

TValue extends CellData

THeaderComponents

THeaderComponents extends Record<string, ComponentType<any>>

Properties

column

ts
column: Column<TFeatures, TData, TValue>;

Defined in: createTableHook.tsx:65


ts
header: Header<TFeatures, TData, TValue> & THeaderComponents & object;

Defined in: createTableHook.tsx:66

Type Declaration

FlexRender()
ts
FlexRender: () => JSXElement;
Returns

JSXElement


table

ts
table: Table<TFeatures, TData>;

Defined in: createTableHook.tsx:68