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

Grid with "Refresh When" does not work as expected

SA-9174

Summary



In Customer's Grid there is a functionality of Expanding multiple rows, the icon used for expanding/collapsing rows is not working properly/ as desired.

Steps to Reproduce

  1. Log into application
  2. Go from UserInterface to UI Gallery 
  3. Open pxExpandPane 
  4. Now aftercheckout , open SECTION Data-UIGallery-Features-Repeating • pxExpandPaneSingleRow 
  5. Click on RepeatGrid properties and make check "Expand Multiple rows". 
  6. Save it 
  7. Refresh pxExpandPane and change "Expand Single Row" to custom icon 
  8. Run it 
  9. Notice that after expanding the row, expand other row(remember "+" icon is now "-") also now collapse all ,one of the "-" icon will remain as "-" even after collapsing.


Root Cause



The root cause of this problem is a defect in customer application code/rules. 

Resolution



This issue is resolved through the following local change: 

In expand multiple rows case expand pane of a row will be fetched to the client only once for the first time. Once fetched collapsing/expanding will happen in client side only through styles.

So this way the behavior is correct.

If you want implement expand/collapse custom icon for expand multiple rows case then that has to be implemented by configuring action on the icon itself.

On icon click run a data transform/activity to toggle the property value should help in achieving the desired behavior..
 
 

Published January 31, 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