The grid (core) ยท console.warn
`timeZone` is not a column option, so it had...
Printed by The grid (core), prefixed [lattice], since 1.86.3.
Warnings reference › column.timeZone
- Identifier
column.timeZone- Raised by
- The grid (core)
- Since
- 1.86.3
What happened
A column definition carried timeZone, which is not a column setting and does nothing. A grid works in one zone: the grid-level timeZone, else the viewer's.
The fix
Remove timeZone from the column and set it on the grid.
The smallest fix
createGrid(el, { timeZone: 'Europe/London', columns: [{ field: 'at', type: 'datetime' }] });
Reference
Covered in full at the API reference.