TanStack

assignTableAPIs

Function: assignTableAPIs()

ts
function assignTableAPIs<TFeatures, TData, TDeps, TDepArgs>(
   feature,
   table,
   apis): void;

Defined in: utils.ts:544

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

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

TDeps

TDeps extends readonly any[]

TDepArgs

TDepArgs

Parameters

feature

keyof TFeatures & string

table

Table_Internal<TFeatures, TData>

apis

APIObject<TDeps, NoInfer<TDepArgs>>

Returns

void