cell_getValue

Function: cell_getValue()

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

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

Reads this cell's accessor value from its owning row and column.

This is the standalone implementation behind cell.getValue(), useful when importing static APIs instead of calling methods from the cell prototype.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

TValue

TValue extends unknown = unknown

Parameters

cell

Cell<TFeatures, TData, TValue>

Returns

TValue

Example

ts
const value = cell_getValue(cell)