The grid (core) ยท console.warn
rowOrder.set() takes an array of row keys; t...
Printed by The grid (core), prefixed [lattice], since 1.77.0.
Warnings reference › rowOrder.set.shape
- Identifier
rowOrder.set.shape- Raised by
- The grid (core)
- Since
- 1.77.0
What happened
grid.rowOrder.set() puts the rows in an explicit order, and it was given something that is not a list of row keys. Nothing changed: the grid kept whatever order it was in, sorted or manual.
The fix
Pass the row keys in the order you want them, for example the list a rowOrder:changed event or rowOrder.get() gave you.
The smallest fix
grid.rowOrder.set(['3', '1', '2']);
Reference
Covered in full at the API reference.