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

Unneccessary reload of all drop downs in the section

SA-80648

Summary



A section contains ten dropdowns whose values are interdependent on the other dropdowns and are cascading. On selecting a value in a dropdown, the entire section refreshes due to the ReloadCell and each dropdown in the section reloads.


Error Messages



Not Applicable


Steps to Reproduce

  1. Add 10 dropdowns in the section.
  2. Configure these dropdowns to populate through the Run activity.
  3. Select one of the drop down values. All the drop downs values are reloaded.


Root Cause



preloading activity was defined for all dropdowns and the source of the preloading activity is cascaded. That is, the first dropdown's property is used as the activity parameter for the second dropdown, and the first and second dropdown's property are  used as the activity parameters for the third dropdown and so on. This created a Pega Change tracker to trigger an onChange event when the first dropdown value changed. Since the subsequent drop down values depend on the first drop down, the other dropdowns also refresh.


Resolution



Perform the following local-change: 
  1. Create a section for each dropdown control.
  2. OnChange of a dropdown, invoke the Refresh section to refresh the next dropdown.
Suggest Edit

Published August 15, 2019 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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