The grid (rendering) ยท console.warn
Column '{colId}' sets both a decoration and a {renderer|template}. A {renderer|template} owns the cell's content, so the decoration is ignored. Use cell.classWhen alongside a template instead.
Printed by The grid (rendering), prefixed [lattice], since 1.0.1.
Warnings reference › dec-conflict:*
- Identifier
dec-conflict:*- Raised by
- The grid (rendering)
- Since
- 1.0.1
What happened
A decoration and a renderer (or template) both claim the cell's content, and they are mutually exclusive. The renderer or template wins and the decoration is dropped, so the pill, bar or icon you configured is simply not drawn.
The fix
Keep one. To colour or badge a templated cell, use cell.classWhen and style the classes.
Reference
Covered in full at the API reference.