Lattice Grid Buy a licence

designer ยท console.warn

designer.sources.update: the change is neith...

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

Warnings reference › designer:sources:update:change

Identifier
designer:sources:update:change
Raised by
designer
Since
1.91.0

What happened

update's second argument replaces a source's rows outright ({ rows }) or patches them by key ({ apply }). The value given was neither shape, so nothing changed and false was returned.

The fix

Pass { rows: nextRows } or { apply: { add, update, remove } }.

The smallest fix

designer.sources.update('orders', { apply: { update: [{ id: 'o1', amount: 42 }] } });

Reference

Covered in full at the API reference.