Back to Table

Cell_Cell

docs/reference/interfaces/Cell_Cell.md

8.21.33.3 KB
Original Source

Interface: Cell_Cell<TFeatures, TData, TValue>

Defined in: core/cells/coreCellsFeature.types.ts:44

Extends

Extended by

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

TValue

TValue extends CellData = CellData

Properties

column

ts
column: Column<TFeatures, TData, TValue>;

Defined in: core/cells/coreCellsFeature.types.ts:29

The associated Column object for the cell.

Inherited from

Cell_CoreProperties.column


getContext()

ts
getContext: () => CellContext<TFeatures, TData, TValue>;

Defined in: core/cells/coreCellsFeature.types.ts:52

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:

Returns

CellContext<TFeatures, TData, TValue>


getValue

ts
getValue: Getter<TValue>;

Defined in: core/cells/coreCellsFeature.types.ts:56

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


id

ts
id: string;

Defined in: core/cells/coreCellsFeature.types.ts:33

The unique ID for the cell across the entire table.

Inherited from

Cell_CoreProperties.id


renderValue

ts
renderValue: Getter<TValue | null>;

Defined in: core/cells/coreCellsFeature.types.ts:60

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


row

ts
row: Row<TFeatures, TData>;

Defined in: core/cells/coreCellsFeature.types.ts:37

The associated Row object for the cell.

Inherited from

Cell_CoreProperties.row


table

ts
table: Table_Internal<TFeatures, TData>;

Defined in: core/cells/coreCellsFeature.types.ts:41

Reference to the parent table instance.

Inherited from

Cell_CoreProperties.table