Lattice Grid Buy a licence

The grid (core) ยท console.warn

toExcelValue threw for column '{colId}'; the stored value was exported instead.

Printed by The grid (core), prefixed [lattice], since 1.0.1.

Warnings referenceexport.excel.toExcelValue:*

Identifier
export.excel.toExcelValue:*
Raised by
The grid (core)
Since
1.0.1

What happened

A data type's toExcelValue hook converts a value into something a spreadsheet can hold, and it threw. The stored value is written instead, so the cell exports as whatever the raw value serialises to - which may be a string where a number or a date was intended.

The fix

The error is attached to the console line. The hook is called for every exported cell of the column, including empty ones.

Reference

Covered in full at the API reference.