Back to Table

injectTableCellContext

docs/framework/angular/reference/functions/injectTableCellContext.md

8.21.3713 B
Original Source

Function: injectTableCellContext()

ts
function injectTableCellContext<TFeatures, TData, TValue>(): Signal<Cell<TFeatures, TData, TValue>>;

Defined in: helpers/cell.ts:98

Injects the current TanStack Table cell signal.

Available when:

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

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

TValue

TValue extends unknown

Returns

Signal<Cell<TFeatures, TData, TValue>>