readCellField
Since v3.3.0
Read the raw stored value for field from row, honoring nested dotted
paths — the non-accessor counterpart to resolveCellValue.
Resolution rules (back-compat critical, see grid-core.md DECIDED #438):
- Plain field (no
.) → directrow[field](identical to legacy path), except prototype-polluting keys (__proto__/constructor/prototype) which returnundefined— symmetric with writeCellField. - Dotted field whose literal key is an own property of
row→ that flat value wins (preserves synthetic-key rows that really store'a.b'). - Otherwise → nested traversal via getByPath.
function readCellField(row: unknown, field: string): unknownParameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
row | unknown | |
field | string |
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://toolboxjs.com/llms-full.txt