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

Unable to increase the width of columns for Report

SA-23272

Summary



Unable to increase the width of the columns in the report. Values in few columns are compressed and the complete value inside the column cannot be seen. The issue persisted even after increasing the width from the report definition.

Error Messages



Not Applicable

Steps to Reproduce



1. Create a report definition with 10-15 columns, where few columns have data exceeding the table cell's width.
2. Run the report. Observe the data truncating when window is resized or shrunk during runtime.

Root Cause



A software use or operation error:
The table shrinks as the window shrinks ignoring contents of the table. This works as intended to avoid having a horizontal scroll bar.

Resolution



Perform the following local-change:
Add the CSS given below in workform_pyreportingskin.css to adjust the table width according to the content when the window is resized. If it exceeds the screen width, the scroll appears.

.summaryReport > .gridDefault > .default > #report_body > table {
table-layout:auto !important;
}

Include the changes given below in the CSS to accommodate header text in the same line if there is space.

#reportSearchGrid div div#report_body table tbody tr th{
 white-space:nowrap;//removed wordwrap
}

Published May 16, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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