Lattice Grid Buy a licence

dhtmlx-compat ยท console.warn

dhtmlx-compat collapsed a {n}-row header to its first row. Lattice titles are a single string; the remaining rows were not applied.

Printed by dhtmlx-compat, prefixed [lattice], since 1.14.0.

Warnings referencedhtmlx.header.multirow

Identifier
dhtmlx.header.multirow
Raised by
dhtmlx-compat
Since
1.14.0

What happened

dhtmlx carries a multi-row header as an array on the column; a Lattice column's title is one string. The shim keeps the first row's text and drops the rest, so a second header row that carried a filter box or a sub-heading is gone from the rendered header.

The fix

Model the extra level as a column group, which is how Lattice draws banded headings, and leave title as the leaf's own text.

The smallest fix

columns: [{ id: 'q1', title: 'Q1', group: 'Revenue' }, { id: 'q2', title: 'Q2', group: 'Revenue' }]

Reference

Covered in full at the API reference.