Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Incorrect alignment and value truncation in generated PDF

SA-50836

Summary



The following issues occur:
  1. Incorrect alignment of columns for which sorting is enabled
  2. Some values which are right aligned are truncated in the PDF. For example, if a field has the value 10000001 in the screen, it displays as 1000000 in the PDF


Error Messages



Not Applicable.


Steps to Reproduce

  1. Launch the Loan Application portal
  2. Expand Loan Reports in the left pane menu
  3. Click Total Proof. The report opens in the right pane
  4. Click Actions and select Export To PDF


Root Cause



A software use or operation error.


Resolution

Perform the following local-change: 

Add below code highlighted in pyReport_ExportToPdfStyles 

 table.gridTable td {
    border-width: thin;
    border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(0, 0, 0) rgb(0, 0, 0);
word-wrap:break-word;
 
}



 

Suggest Edit

Published January 19, 2019 - Updated October 8, 2020

Did you find this content helpful? Yes No

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us