The grid (rendering) ยท console.warn
detail.rows() rejected for row "{key}": {error}
Printed by The grid (rendering), prefixed [lattice], since 1.4.0.
Warnings reference › detail.rows:failed
- Identifier
detail.rows:failed- Raised by
- The grid (rendering)
- Since
- 1.4.0
What happened
The detail.rows() function returned a promise that rejected, so no rows were loaded for that detail panel. The nested grid stays empty; the parent grid is unaffected.
The fix
The rejection's message is quoted in the line. detail.rows() is called per expanded row, so a failure is usually a per-row fetch.
The smallest fix
detail: { rows: (row) => fetch(`/api/lines/${row.key}`).then((r) => r.json()) }
Reference
Covered in full at the API reference.