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

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

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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