Support Article
The pzGridActionIcon does not get displayed sometimes
SA-1127
Summary
User has a nested grid structure with expand edite mode. In the inner most flow action, User is using a pzGridActionIcon section .
The pzGridActionIcon is not displaying the icon, when an expanded row of the grid is submitted and rendered again.
Error Messages
Not Applicable
Steps to Reproduce
Behavior was not reproduced in inhouse. User followed below steps:
Use a nested expand edit mode grid structure with pzGridActionIcon section.
Keep one of the row as expanded
Submit the grid.
Reopen the grid to find that the expanded rows do not contain the pzGridAction icon.
Root Cause
The CSS class iconAttachment was not present and coming as empty.
Resolution
Issue resolved via below local change.
Refresh the pzGridActionIcon section after it has loaded as shown below . This gets the css class iconAttachment and the icon is visible.
function refreshIcon()
{
pega.u.d.refreshSection("SectionContainintheIcon",'','');
}
setTimeout("refreshIcon()",500);
SectionContainintheIcon is the name of the section containing the pzGridAction icon.
Published February 28, 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.