Lattice Grid Buy a licence

The grid (rendering) ยท console.warn

detail.render is not a function; the detail ...

Printed by The grid (rendering), prefixed [lattice], since 1.101.6.

Warnings reference › detail.render

Identifier
detail.render
Raised by
The grid (rendering)
Since
1.101.6

What happened

detail.render was given a string or a class, not the documented function. Neither form ever drew anything, so the detail region is left empty and this one warning is logged rather than failing silently.

The fix

Pass detail.render a function (container, row, ctx) that mounts into container and returns an object with a destroy() method, or nothing.

The smallest fix

detail: { render(container, row) { container.textContent = row.key; return { destroy() {} }; } }

Reference

Covered in full at the API reference.