Lattice Grid Buy a licence

designer ยท console.warn

designer.setSources: the sources are not an ...

Printed by designer, prefixed [lattice], since 1.91.0.

Warnings reference › designer:sources:set

Identifier
designer:sources:set
Raised by
designer
Since
1.91.0

What happened

setSources replaces the whole sources map a designer reads, by id. The value given was not an object, so nothing changed and false was returned.

The fix

Pass an object of source definitions, by id.

The smallest fix

designer.setSources({ orders: { kind: 'rows', rows: nextRows, rowKey: 'id' } });

Reference

Covered in full at the API reference.