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

Drilldown Report Column Size cannot be modified in 7.2.2

SA-37933

Summary



Drilldown Report Column Size cannot be modified in Pega 7.2.2

Error Messages

Not Applicable

Steps to Reproduce



1. Create a report definition.
2. Configure 8-10 columns such that it does not gets fit in the screen.
3. Add column width configuration.
4. Observe that width mentioned in third step is not getting applicable.


Root Cause



Issue reported is an expected behavior and below is the explanation.

From Pega 7.1.7 onwards, grids are used to display report data. The grid accommodates the columns based on the availability of space rather than being forced to a specific width. If there are longer values in the first column, then the width increases as required.

A Report Definition (RD) with at least one summarized column will show the report in Tree grid format.

This change was made to increase the user-experience by automatically adjusting width of column based on content of column.

Resolution



The reported issue could be addressed with the below local change

Perform a private edit on "workform_pyReportingSkin" CSS in the application and add the following CSS:

<style>
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;
}
</style>
Suggest Edit

Published June 29, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

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