The grid (core) ยท console.warn
rows.forEachAll walked only the rows this source has loaded: a remote or paged source holds the current page, not the whole set. Total on the server, or use a memory source.
Printed by The grid (core), prefixed [lattice], since 1.5.0.
Warnings reference › rows.forEachAll.partial
- Identifier
rows.forEachAll.partial- Raised by
- The grid (core)
- Since
- 1.5.0
What happened
forEachAll means "every row, filters ignored", and a source that fetches on demand does not hold every row. The walk covered what is loaded. This is said out loud rather than quietly handing back a subset, because a caller who asked for everything and silently received part of it computes a number that looks right.
The fix
Compute the figure where the whole set is - on the server, or through the adapter - or hold the data in a memory source.
Reference
Covered in full at the API reference.