0
Fork 0
mirror of https://github.com/TanStack/table.git synced 2026-11-18 18:55:54 +00:00
table/docs/framework/angular/reference/functions/injectTableContext.md
Kevin Van Cott db0c2d9b5a
fix: simplify some column pinning + visibility memo deps and performance (#6259)
* fix: simplify some column pinning + visibility memo deps and performance

* fix pnpm link issue with match-sorter-utils
2026-05-13 14:21:54 -05:00

777 B

id title
injectTableContext injectTableContext

Function: injectTableContext()

function injectTableContext<TFeatures, TData>(): Signal<AngularTable<TFeatures, TData>>;

Defined in: packages/angular-table/src/helpers/table.ts:80

Injects the current TanStack Table instance signal.

Available when:

  • there is a nearest [tanStackTable] directive in the DI tree, or
  • the caller is rendered via *flexRender with render props containing table

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Returns

Signal<AngularTable<TFeatures, TData>>