Table Docs
AI/LLM: This documentation page is available in plain markdown format at/table/latest/docs/framework/angular/reference/functions/injectTableCellContext.md
injectTableCellContext
ts
function injectTableCellContext<TFeatures, TData, TValue>(): Signal<Cell<TFeatures, TData, TValue>>;Defined in: packages/angular-table/src/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>>