Skip to content

Cell

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/types.d.ts:113

  • CoreCell<TData, TValue>.GroupingCell

TData extends RowData

TValue

column: Column<TData, TValue>

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/cell.d.ts:17

The associated Column object for the cell.

API Docs

Guide

CoreCell.column


getContext: () => CellContext<TData, TValue>

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/cell.d.ts:23

Returns the rendering context (or props) for cell-based components like cells and aggregated cells. Use these props with your framework’s flexRender utility to render these using the template of your choice:

CellContext<TData, TValue>

API Docs

Guide

CoreCell.getContext


getIsAggregated: () => boolean

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/ColumnGrouping.d.ts:114

Returns whether or not the cell is currently aggregated.

boolean

API Docs

Guide

GroupingCell.getIsAggregated


getIsGrouped: () => boolean

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/ColumnGrouping.d.ts:120

Returns whether or not the cell is currently grouped.

boolean

API Docs

Guide

GroupingCell.getIsGrouped


getIsPlaceholder: () => boolean

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/ColumnGrouping.d.ts:126

Returns whether or not the cell is currently a placeholder cell.

boolean

API Docs

Guide

GroupingCell.getIsPlaceholder


getValue: Getter<TValue>

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/cell.d.ts:29

Returns the value for the cell, accessed via the associated column’s accessor key or accessor function.

API Docs

Guide

CoreCell.getValue


id: string

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/cell.d.ts:35

The unique ID for the cell across the entire table.

API Docs

Guide

CoreCell.id


renderValue: Getter<TValue | null>

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/cell.d.ts:41

Renders the value for a cell the same as getValue, but will return the renderFallbackValue if no value is found.

API Docs

Guide

CoreCell.renderValue


row: Row<TData>

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/cell.d.ts:47

The associated Row object for the cell.

API Docs

Guide

CoreCell.row