Lattice Grid Buy a licence

The grid (rendering) ยท console.warn

Column '{colId}' variant function threw; falling back to '{fallback}'.

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

Warnings referencevariant-fn:*

Identifier
variant-fn:*
Raised by
The grid (rendering)
Since
1.0.1

What happened

The function form of cell.variant threw while resolving a cell's token. The throw is caught and the fallback variant is used for that cell, so the column keeps painting.

The fix

The error is attached to the console line. The function is called for every visible cell, including ones whose value is null.

Reference

Covered in full at the API reference.