0

I have a table with more than 1500 rows in SpreadJS, with many merged cells spanning multiple rows, but only in some columns.

When printing or exporting, I need to prevent pagebreaks inside the merged cells.

I have not found any setting in printing or exporting options, so I wonder if it can be done with JavaScript.

A solution using ranges would also work for me, because I used ranges to merge those cells.

Using SpreadJS v16

Nacho B
  • 1,573
  • 1
  • 12
  • 16

1 Answers1

0

You could try setting the page breaks manually using the setColumnPageBreak and setRowPageBreak methods. Refer to the following demo for more printing options: https://www.grapecity.com/spreadjs/demos/features/print/custom-print

Hope this helps!

GrapeCity Team
  • 837
  • 1
  • 5
  • 8