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

TextArea not wrapped in the report definition

SA-44192

Summary



TextArea content is not wrapped in the report definitions even if the column width is provided.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a report definition with a field which is too long.
  2. Try to wrap it by defining column width.


Root Cause



An issue in the custom application code or rules.

Resolution


Perform the following local-change steps:

1. Save workform_pyReportingSkin CSS into the application and add the following CSS:


table.gridTable[pl_prop="pyReportContentPage.pxResults"] {
table-layout: fixed;
}
table.gridTable[pl_prop="pyReportContentPage.pxResults"] th, table.gridTable[pl_prop="pyReportContentPage.pxResults"] td {
overflow-x: hidden;
text-overflow: ellipsis;
height: auto;
}

table.gridTable[pl_prop="pyReportContentPage.pxResults"] td .oflowDivM{
text-overflow: ellipsis;
}

div.gridDefault div.divCont {
white-space: normal;
}
div.gridDefault div.oflowDiv {
height: auto !important;
}
textarea {
white-space: pre-wrap;
}



2. Then apply a TextArea control to the column that is required to have word wrapped, and give it a column width of at least 500 px.
3. Now scroll through the extra content provided by the TextArea.

Published November 7, 2017 - 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