Posted 24 February 2023, 5:19 am EST
Hi,
I’m experiencing some troubles with the printarea in SpreadJs.
In the default setting,
sheet.printInfo().columnStart()
sheet.printInfo().columnEnd()
sheet.printInfo().rowStart()
sheet.printInfo().rowEnd()
all returns -1 and only the filled Area is printed. But when i set the area manually
sheet.printInfo().columnStart(-1)
sheet.printInfo().columnEnd(-1)
sheet.printInfo().rowStart(-1)
sheet.printInfo().rowEnd(-1)
the whole sheet with all the empty rows and cols are printed. I would expect only the filled rows and cols are printed. How can I tell Spreadjs to use the “initial” setting? Is this a bug or am i doing something wrong?
Thanks for any help!
