Skip to main content

cell_renderValue

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

function cell_renderValue<TFeatures, TData, TValue>(cell): any;

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

Reads the value that should be rendered for this cell.

Nullish accessor values are replaced with table.options.renderFallbackValue, matching the behavior of cell.renderValue().

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

TValue

TValue extends unknown = unknown

Parameters

cell

Cell<TFeatures, TData, TValue>

Returns

any

Example

const rendered = cell_renderValue(cell)