Back to Table

assignTableAPIs

docs/reference/functions/assignTableAPIs.md

8.21.3941 B
Original Source

Function: assignTableAPIs()

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

Defined in: utils.ts:297

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