Skip to content

resolveCellValue

Since v2.2.0

Resolve the cell value for a column, honoring valueAccessor if defined, otherwise reading row[column.field].

function resolveCellValue(row: TRow, column: ColumnConfig<TRow>, rowIndex: number): unknown
NameTypeDescription
rowTRowThe row object
columnColumnConfig<TRow>The column definition
rowIndexnumberThe visible row index (passed to accessor; defaults to -1)
const value = resolveCellValue(row, column);
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://toolboxjs.com/llms-full.txt