Posted 25 June 2024, 2:02 pm EST - Updated 25 June 2024, 2:07 pm EST
Hello team, is there a way to merge table header cells in SpreadJS?
My use case is to show identical data for different time periods, in adjacent columns, and I’d like to have the main data-info as a single header on the top, spanning multiple columns, and the time periods as the sub header cells. Please check the attached current and desired sheet.
I’m creating the table using
addFromDataSource
and have showHeader set to true, which adds one header row to the sheet. Is it possible to have 2 such header rows and merge cells in them?