Problem printing large Grid/TreeGrid

Morning!

Came across a problem where a large grid (spanning more than a single printed page) wasn’t printing properly.

I’ve resolved the problem by simplifying the layout (the div is no longer placed within a table for layout) and adding the ‘enableAutoWidth(true)’ to the DHTMLX code.

My question is - why would ‘enableAutoWidth(true)’ have anything to do with printing?!

Will.

Command removes scroll, which causes problem for native printing.
Did you check printView api and grid-to-pdf solutions?