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

Button not disabled on click when disable expression is given

SA-2974

Summary



The Disable condition is not disabling a custom button in a repeat grid without refresh the section containing the grid.

On click of the button the developer wants to add a row in the grid and also based on a condition he wants the button to be disabled.  He do not want to refresh the section as there are some UI actions which he does not want to lose.

Error Messages



No Error Message


Steps to Reproduce



1. Create a Repeating grid and configure a Button instead of using the Add Icon
2. Configure a condition to disable the button that runs on the client.


Root Cause



Pega only refreshes the grid rows on click of the Add button. Thus the button in the Action Bottom will not get refreshed on addition of a row.

Resolution



Provided a local-change to include the "Add" button inside a section. On click of the button, "Add Item" and "Refresh Section" actions resolves the issue.

"Refresh Section" will refresh only the button and thus the entire grid will not get refreshed.

 

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?

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