Support Article
Unable to word-wrap columns in report definition
SA-24189
Summary
When running a report definition with a column of data which a large amount of text, there is no way to force it to word wrap. This is the net result.
Error Messages
Not Applicable.
Steps to Reproduce
- Create a report definition which will retrieve a column with more than 500 characters in it.
- Run report definition.
Root Cause
This behavior is by design.
Resolution
Perform the following local-change:
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 you can scroll through the extra content provided by the TextArea.
Published June 10, 2016 - 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.