The grid (rendering) ยท console.warn
column '{colId}' has a template binding {{ {name} }} that resolves to nothing and will render empty. Bindings are value, text, index, colId, data.*, row.* and anything in cell.props, a field is reached as {{ data.{root} }}.
Printed by The grid (rendering), prefixed [lattice], since 1.4.0.
Warnings reference › template-binding:*:*
- Identifier
template-binding:*:*- Raised by
- The grid (rendering)
- Since
- 1.4.0
What happened
A cell template names a binding that is not in scope, so it renders as nothing. The commonest case is naming a row field directly ({{ amount }}) where the scope needs {{ data.amount }}. Bindings that match a key of cell.props are in scope and are not reported.
The fix
Reach a row field through data. (or row.), or supply the value in cell.props.
The smallest fix
cell: { template: '{{ data.amount }} in {{ data.currency }}' }
Reference
Covered in full at the API reference.