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

Section refresh based on check selection is lagging

SA-32321

Summary



User has a grid where for each row they have given a checkbox.

While selecting the checkbox, user must increase the counter based on the checkbox selection and that counter is displayed on some other section which is being refreshed every time on change of checkbox.

So if the user selects the check boxes too quickly, then the refresh is happening but there is some mismatch the selected items in grid and the counter value.


Error Messages



Not applicable


Steps to Reproduce



1. Create a grid.
2. Include one column for pySelected as checkbox.
3. On change of checkbox, run a Data transform to increase or decrease the counter value.
4. After the execution of data table, refresh the other section having counter value.


Root Cause



A software use or operation error : The behavior is expected as per product design.

Resolution



Here’s the explanation for the reported behavior:

     a) Make the target section as small as possible and use "Refresh list" and "Refresh-Other-Section" actions on checkbox to refresh the target section.
       By using this way user is avoiding user to perform fast clicks.
     b) Use Declare Expression to calculate the target value upon user changes the input.
     c) Use the custom control which will count the number of selection at the client side, without involving server calls.

Published January 18, 2017 - 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