Support Article
Last row of exported PDF is cropped
SA-56882
Summary
When exporting a report from report viewer (in the report section), the last row of the exported PDF is truncated. However, this does not occur when there are more than 50 rows.
Error Messages
Not Applicable
Steps to Reproduce
Export a report from the report viewer.
Root Cause
When there are less than 50 records, the last row of the PDF is truncated and the first page is blank. The change for the last rows being truncated is already present in pyExporttoPDF, however, it is not fetched at runtime.
Resolution
Perform the following local-change:
Add the body {margin-bottom:100px;margin-right:300px;} change in pyReport_ExportToPdfStyles.
Published September 18, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.