The grid (core) ยท console.warn
the diff was asked about the whole data set but has no current rows: pass them in, or supply `currentRows` when constructing the DiffModel.
Printed by The grid (core), prefixed [lattice], since 1.0.1.
Warnings reference › diff.norows
- Identifier
diff.norows- Raised by
- The grid (core)
- Since
- 1.0.1
What happened
A whole-set question - how many rows changed, which rows are new - needs the current rows, and the model has neither an argument nor a currentRows supplier. The question cannot be answered and the caller gets nothing.
The fix
Pass the rows to the call, or give the DiffModel a currentRows function when you construct it.
Reference
Covered in full at the API reference.