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

Radio Button Issue in Repeat Grid

SA-27831

Summary



 Facing an issue while using a radio button in the repeat grid.we are not getting the correct index of the selected pxResults. 

Error Messages



Not Applicable


Steps to Reproduce



1. Include a radio button with pzGridRadioButton Control in the Repeat Grid.
2. Source for the Grid is List Type(pxResults)
3.Enable the pagination for the Grid
4.Select a row in page 1 and simialry select another row in page 1
5.Both the pyselected value in the clipboard will be set to true.


Root Cause



An issue in the custom application code or rules

Resolution


 
  1. In grid property panel in "Operations" tab select "Run activity before grid update" and specify an activity.

     
      Note: This activity must be present in row class and @baseclass. 
      2. In first step of activity iterate through list and set the radio buton property to false in all records.  Use a when condition to check the gridAction parameter is REFRESHROWS, that is, the grid update that is required to act on is the row refresh invoked by the change to the radio button property.  
​This is a standard Pega parameter that is set automatically so one must add it to the parameters tab.
      3. Set the current radio button property to true. 

Published September 18, 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?

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