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
Table API Reference

TableFeature

Interface: TableFeature<TConstructors>

Defined in: types/TableFeatures.ts:116

Type Parameters

TConstructors

TConstructors extends FeatureConstructors

Properties

assignCellPrototype?

ts
optional assignCellPrototype: AssignCellPrototype<TConstructors>;

Defined in: types/TableFeatures.ts:121

Assigns Cell APIs to the cell prototype for memory-efficient method sharing. This is called once per table to build a shared prototype for all cells.


assignColumnPrototype?

ts
optional assignColumnPrototype: AssignColumnPrototype<TConstructors>;

Defined in: types/TableFeatures.ts:126

Assigns Column APIs to the column prototype for memory-efficient method sharing. This is called once per table to build a shared prototype for all columns.


assignHeaderPrototype?

ts
optional assignHeaderPrototype: AssignHeaderPrototype<TConstructors>;

Defined in: types/TableFeatures.ts:131

Assigns Header APIs to the header prototype for memory-efficient method sharing. This is called once per table to build a shared prototype for all headers.


assignRowPrototype?

ts
optional assignRowPrototype: AssignRowPrototype<TConstructors>;

Defined in: types/TableFeatures.ts:136

Assigns Row APIs to the row prototype for memory-efficient method sharing. This is called once per table to build a shared prototype for all rows.


constructTableAPIs?

ts
optional constructTableAPIs: ConstructTableAPIs<TConstructors>;

Defined in: types/TableFeatures.ts:141

Assigns Table APIs to the table instance. Unlike row/cell/column/header, the table is a singleton so methods are assigned directly.


getDefaultColumnDef?

ts
optional getDefaultColumnDef: GetDefaultColumnDef<TConstructors>;

Defined in: types/TableFeatures.ts:142


getDefaultTableOptions?

ts
optional getDefaultTableOptions: GetDefaultTableOptions<TConstructors>;

Defined in: types/TableFeatures.ts:143


getInitialState?

ts
optional getInitialState: GetInitialState<TConstructors>;

Defined in: types/TableFeatures.ts:144


initRowInstanceData?

ts
optional initRowInstanceData: InitRowInstanceData<TConstructors>;

Defined in: types/TableFeatures.ts:149

Initializes instance-specific data on each row (e.g., caches). Methods should be assigned via assignRowPrototype instead.