Support Article
Grid row numbers and column names misaligned on parapraphs
SA-19833
Summary
There is a paragraph and inside it, a gird is included. When the paragraph is generated, the grid columns appear misaligned. When the same paragraph is generated through two different browsers, that is Chrome and IE 11, there is a visual significant change in the columns in the different downloads.
Error Messages
The grid column names appear misaligned.
Steps to Reproduce
Create a paragraph with a section included in it. The included section would have a grid repeat layout, fetching data from a property List or Group.
Root Cause
The Grid columns for which sorting is enabled gets an extra #sort span in its header for sorting functionality, and since the stream here has no grid styles included this extra span causes the misalignment.
Resolution
Include the grid styles in the paragraph as below and allow grid to take care of styling:
<pega:static type="style" app="webwb">
<pega:file name="pzpega_ui_grid.css"></pega:file>
</pega:static>
OR
<style>
#sort{
display:none;
}
</style>
Published February 15, 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.