Support Article
Empty column displays when Visibility conditions are false
SA-77144
Summary
Empty column displays on a table layout when Visibility conditions are false at the cell level.
Error Messages
Not Applicable
Steps to Reproduce
- Create a section.
- Add a table layout to the section.
- Hide cells using the Visibility conditions. Cell content is hidden and an empty column displays.
Root Cause
This behavior is as per the Pega product design.
The Visibility conditions govern the visibility of the cell and not the entire column.
Resolution
Perform the following local-change:
Add the below inline style at the column level which references the When condition:
<pega:when name="Your_When_Rule">display:none; </pega:when>
Published August 15, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.