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

pzSelectAllCheckBoxCustom does not execute activity on selectall

SA-22767

Summary



When using the select all feature (pzSelectAllCheckBoxCustom) in a repeating grid layout upon clicking the select all box the "Run Activity" is not being executed from the actions.

Error Messages



No error message.


Steps to Reproduce

  1. Configure a grid to use the pzSelectAllCheckBoxCustom control to select all grid rows.
  2. Specify a run activity for the on click action.


Root Cause



The pzSelectAllCheckBoxCustom is an internal control and is not intended to be reused in this way (rules prefixed with pz are Pega internal).

The control itself is also not auto-generated so cannot utilize the most current actions options available to newer controls.

The problem here is that this checkbox control has it’s own embedded Javascript onclick handling functionality, so the onclick behaviour to run the activity is not used.

This is the same issue as encountered with standard radio buttons as described in this support article.

https://pdn.pega.com/support-articles/onclick-activity-configured-radiobutton-does-not-fire

Resolution



Perform the following local-change: 

There is no standard select all control, so the solution is to implement the functionality using standard actions.

1. Configure the select all as an out of the box Checkbox control and specify a Data Transform to perform the select all operation through a Refresh Section action.  One can also specify an activity to run.



 

Published May 4, 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?

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