Skip to main content

cell_getValue

还没翻译译自英文(tanstack.com)本页 17 段都还没译

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

const value = cell_getValue(cell)