Lattice Grid Buy a licence

The grid (core) · console.warn

computed column "{colId}" read undeclared dependency "{field}". Add it to `value.deps` or the value will go stale.

Printed by The grid (core), prefixed [lattice], since 1.0.1.

Warnings referenceundeclared:*:*

Identifier
undeclared:*:*
Raised by
The grid (core)
Since
1.0.1

What happened

The dependency proxy caught a computed column reading a field it did not declare. The value is computed correctly *this* time; the problem is invalidation - when that field changes, the grid does not know this column depends on it, so the cell keeps its old value and the grid shows a number that is quietly out of date.

The fix

Add the named field to value.deps.

The smallest fix

value: { deps: ['gross', 'tax', 'rate'], get: (p) => … }

Reference

Covered in full at the API reference.