Support Article

Tree grid alignment issue in freeze header first header missing

SA-37798

Summary



While configuring the tree grid to freeze the header, user is facing alignment issues and even the first column header is lost.


Error Messages



Not Applicable


Steps to Reproduce



Try to freeze the header in the presentation tab of the tree grid.


Root Cause



A defect in Pegasystems’ code or rules that the hidden cell class is getting appended in the first table in when the grid HTML is generated.

Resolution



Perform the following local-change:

1. In userWorkForm add the following code:
<style>
#gridHead_right .gridTable > tbody > tr > th.hiddenCell {
padding: 0;
border: none;
}
</style>

2. In generategridhtml function search for the line which looks like below mentioned line and make sure it is exactly same as below (there is no missing semicolon):

tblLayout = "if(!pzAuto.getBrowserUtils().isCHrome()){tools.appenString(\"table-layout:fixed;\");}";

Note: Make sure to add pegaDeveloperruleset in the application ruleset.

Published May 10, 2017 - Updated May 25, 2017

Have a question? Get answers now.

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