Lattice Grid Buy a licence

The grid (core) ยท console.warn

the comparator for column '{colId}' threw while diffing; the two values were compared by identity instead.

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

Warnings referencediff.compare.throw:*

Identifier
diff.compare.throw:*
Raised by
The grid (core)
Since
1.0.1

What happened

The column's comparator threw while the diff was deciding whether a value changed. The diff falls back to identity, so values that the comparator would have treated as equal - two dates a millisecond apart, two objects with the same contents - are now reported as changes.

The fix

The error is attached to the console line. A comparator is called with the before and after values, either of which may be null or undefined.

Reference

Covered in full at the API reference.