Back to Table

cell_getContext

docs/reference/functions/cell_getContext.md

8.21.31.1 KB
Original Source

Function: cell_getContext()

ts
function cell_getContext<TFeatures, TData, TValue>(cell): object;

Defined in: core/cells/coreCellsFeature.utils.ts:21

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

TValue

TValue extends unknown = unknown

Parameters

cell

Cell<TFeatures, TData, TValue>

Returns

object

cell

ts
cell: Cell<TFeatures, TData, TValue>;

column

ts
column: Column<TFeatures, TData, TValue> = cell.column;

getValue()

ts
getValue: () => NoInfer<TValue>;

Returns

NoInfer<TValue>

renderValue()

ts
renderValue: () => NoInfer<TValue | null>;

Returns

NoInfer<TValue | null>

row

ts
row: Row<TFeatures, TData> = cell.row;

table

ts
table: Table_Internal<TFeatures, TData> = cell.table;