Resolves a cell's raw value from its row.
Tries, in order: ColumnDef.valueGetter, the dotted field path, the literal flat key, then each alias.
field
The row to read from.
The column describing what to read.
The raw value, or undefined if nothing matched.
undefined
The fallbacks exist because servers that flatten joined relations hand back {"customer.businessName": x} rather than a nested object — and some change the prefix when grouping is on.
{"customer.businessName": x}
resolveValue({ customer: { name: 'Acme' } }, { field: 'customer.name', header: 'C' });// 'Acme' Copy
resolveValue({ customer: { name: 'Acme' } }, { field: 'customer.name', header: 'C' });// 'Acme'
Resolves a cell's raw value from its row.
Tries, in order: ColumnDef.valueGetter, the dotted
fieldpath, the literal flat key, then each alias.