Support Article
Section refresh based on check selection is lagging
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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.