Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
Neon
WorkOS
Clerk
Convex
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
Neon
WorkOS
Clerk
Convex
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
Table API Reference
Column API Reference
Row API Reference
Cell API Reference
Header API Reference
Features API Reference
Legacy API Reference
Enterprise
Header API Reference

Header_Header

Interface: Header_Header<TFeatures, TData, TValue>

Defined in: core/headers/coreHeadersFeature.types.ts:100

Extends

Extended by

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

TValue

TValue extends CellData = CellData

Properties

colSpan

ts
colSpan: number;

Defined in: core/headers/coreHeadersFeature.types.ts:57

The col-span for the header.

Inherited from

Header_CoreProperties.colSpan


column

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

Defined in: core/headers/coreHeadersFeature.types.ts:61

The header's associated column object.

Inherited from

Header_CoreProperties.column


depth

ts
depth: number;

Defined in: core/headers/coreHeadersFeature.types.ts:65

The depth of the header, zero-indexed based.

Inherited from

Header_CoreProperties.depth


getContext()

ts
getContext: () => HeaderContext<TFeatures, TData, TValue>;

Defined in: core/headers/coreHeadersFeature.types.ts:108

Returns the rendering context (or props) for column-based components like headers, footers and filters.

Returns

HeaderContext<TFeatures, TData, TValue>


getLeafHeaders()

ts
getLeafHeaders: () => Header<TFeatures, TData, TValue>[];

Defined in: core/headers/coreHeadersFeature.types.ts:112

Returns the leaf headers hierarchically nested under this header.

Returns

Header<TFeatures, TData, TValue>[]


headerGroup

ts
headerGroup: 
  | HeaderGroup<TFeatures, TData>
  | null;

Defined in: core/headers/coreHeadersFeature.types.ts:69

The header's associated header group object.

Inherited from

Header_CoreProperties.headerGroup


id

ts
id: string;

Defined in: core/headers/coreHeadersFeature.types.ts:73

The unique identifier for the header.

Inherited from

Header_CoreProperties.id


index

ts
index: number;

Defined in: core/headers/coreHeadersFeature.types.ts:77

The index for the header within the header group.

Inherited from

Header_CoreProperties.index


isPlaceholder

ts
isPlaceholder: boolean;

Defined in: core/headers/coreHeadersFeature.types.ts:81

A boolean denoting if the header is a placeholder header.

Inherited from

Header_CoreProperties.isPlaceholder


placeholderId?

ts
optional placeholderId: string;

Defined in: core/headers/coreHeadersFeature.types.ts:85

If the header is a placeholder header, this will be a unique header ID that does not conflict with any other headers across the table.

Inherited from

Header_CoreProperties.placeholderId


rowSpan

ts
rowSpan: number;

Defined in: core/headers/coreHeadersFeature.types.ts:89

The row-span for the header.

Inherited from

Header_CoreProperties.rowSpan


subHeaders

ts
subHeaders: Header<TFeatures, TData, TValue>[];

Defined in: core/headers/coreHeadersFeature.types.ts:93

The header's hierarchical sub/child headers. Will be empty if the header's associated column is a leaf-column.

Inherited from

Header_CoreProperties.subHeaders


table

ts
table: Table<TFeatures, TData>;

Defined in: core/headers/coreHeadersFeature.types.ts:97

Reference to the parent table instance.

Inherited from

Header_CoreProperties.table