Lattice Grid Buy a licence

The grid (core) ยท console.warn

compareGroups: the two groups must be two distinct, present values.

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

Warnings referencecompareGroups:distinct

Identifier
compareGroups:distinct
Raised by
The grid (core)
Since
1.27.0

What happened

The two group keys resolved to the same value, or one of them is null. A comparison needs two different groups, so the call returns null.

The fix

Pass two distinct values in groups, each of which appears in the by column.

Reference

Covered in full at the API reference.