The grid (core) ยท console.warn
rows.get() takes a non-negative integer disp...
Printed by The grid (core), prefixed [lattice], since 1.124.0.
Warnings reference › rows.get.badIndex
- Identifier
rows.get.badIndex- Raised by
- The grid (core)
- Since
- 1.124.0
What happened
rows.get(index) addresses the row drawn at a display position - an integer counting group headings, footers and the grand total. A row key, a fraction or a negative number is never a valid position, so the call answers undefined rather than guessing which row was meant or crashing on the attempt.
The fix
Pass the display index get() expects, or call rows.byKey(key) to look a row up by its key.
Reference
Covered in full at the API reference.