cell_renderValue

Function: cell_renderValue()

ts
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

ts
const rendered = cell_renderValue(cell)