0

I have been using exceljs to create excel files and downloading them. I have currently run into the problem of grouping them something like this: Click here for grouping example

Is there any way of doing this using exceljs? I have tried doing something like

worksheet.addRows([['Hello'],['Hello']]);

but that just puts them one above another and does not group them.

Ish Montalvo
  • 171
  • 1
  • 11

1 Answers1

0

In excel groups of rows named "Outlines". In documentation of ExcelJS on github i found this https://github.com/exceljs/exceljs#outline-levels

Groups make by set value to the attribute "outlineLevel" for rows or cols.

Const1
  • 1