HTML table export drops zero headers and false cells
Author: OskarEichlerCreated Aug 30, 2026Updated Sep 27, 2026
LabelsType: BugProduct: HighchartsStatus: Pending replyStatus: Stale
Expected behaviour
HTML table export should preserve valid falsy values. A numeric 0 used as a multilevel subheader should render as 0, and a boolean false body cell should render as false.
Actual behaviour
HTMLTableConverter.export converts values through (value || '').toString(). This treats 0 and false as absent, producing empty header/body cells and losing data.
Live demo with steps to reproduce
const connector = new DataConnector.types.HTMLTable({
dataTables: [{ columns: { value: [0, false, true] } }]
});
console.log(connector.converter.export(connector));The generated table omits the 0 subheader and the false body value.
Product version
Highcharts master 48b5b3e99a0fa9aae9a357165a5a916f504afeca / 13.0.2
Affected browser(s)
All browsers.
Source: highcharts/highcharts