Lattice Grid Buy a licence

The grid (rendering) ยท console.warn

Column '{colId}' uses cell.css, which writes style properties per cell and leaves the class fast path. It is unsuitable for large datasets; prefer a decoration and variant.

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

Warnings referencecss-escape:*

Identifier
css-escape:*
Raised by
The grid (rendering)
Since
1.0.1

What happened

Nothing is broken: cell.css is the documented escape hatch and it works. It is reported because it changes how the column paints - every cell gets inline style properties written and removed individually instead of taking the class fast path - and that cost is otherwise invisible to whoever later wonders why this grid scrolls differently from the others.

The fix

Where the styling can be expressed as a decoration plus a variant, or as classWhen rules, use those and the column keeps the fast path. Keep cell.css where it genuinely needs a computed value.

The smallest fix

cell: { decoration: 'pill', variant: 'status' }

Reference

Covered in full at the API reference.