Lattice Grid Buy a licence

The grid (rendering) ยท console.warn

data-type "{declaredType}" on column "{field...

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

Warnings reference › hydrate.unknownType:*

Identifier
hydrate.unknownType:*
Raised by
The grid (rendering)
Since
1.74.0

What happened

readTable/hydrateTable read a server-rendered <th data-type> to set that column's type, so sort, filter and editor follow it without further configuration. The named value matches none of the built-in type names (the seven base types or the extended catalogue), so it cannot be resolved to anything, and the column is left untyped: it is inferred from the row data exactly as if no data-type had been given.

The fix

Spell a built-in type name (number, date, bytes, ...), or omit data-type and let the column's shape be inferred from the data.

The smallest fix

<th data-type="number">Qty</th>

Reference

Covered in full at the API reference.