Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
IN
Last activity: 26 Sep 2017 1:48 EDT
How to put a radio buttion in repeating grid for row selection
H Team,
I am placing a radio button with propery as pyselected in grid. My Repeating grid uses a data page to populate data. At run time i dont see radio button displaying.
Please suggest. I tried in chrome and morzilla.
**Edited by Moderator Marissa to move to Product Support Community from Pega Academy; update categories***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1690205000/79bc4dc6-ee1f-4417-b26f-02beddca13a9.jpg?itok=uySAk9r7)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1690205000/79bc4dc6-ee1f-4417-b26f-02beddca13a9.jpg?itok=uySAk9r7)
Siemens
IN
Apparently radio button does not support on click events.
I found the following link.
https://community.pega.com/support/support-articles/activity-not-running-clicking-grid-radio-button
https://collaborate.pega.com/question/click-radio-button-refresh-not-working
Looks like radio button control is known to have issues when used with the grid. You might have to write a manual script to fulfill the requirement. Below is a script configured to refresh on click of a radio button. You can tweek it as per your requirement.
Alternately I would suggest using checkbox as the selection control.
Apparently radio button does not support on click events.
I found the following link.
https://community.pega.com/support/support-articles/activity-not-running-clicking-grid-radio-button
https://collaborate.pega.com/question/click-radio-button-refresh-not-working
Looks like radio button control is known to have issues when used with the grid. You might have to write a manual script to fulfill the requirement. Below is a script configured to refresh on click of a radio button. You can tweek it as per your requirement.
Alternately I would suggest using checkbox as the selection control.
<script>
var radioButtons = document.getElementsByTagName('input');
for(var i=0;i<radioButtons.length;i++)
{
if(radioButtons[i].type=='radio')
{
var attribut= radioButtons[i].getAttribute("onclick");
if(attribut=="Grids.getActiveGrid(event).setOtherRadioToFalse(this, event );")
{
radioButtons[i].addEventListener("click", function(){
pega.u.d.refreshSection("SecondSection",",");
});
}
}
}
</script>
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1690205000/79bc4dc6-ee1f-4417-b26f-02beddca13a9.jpg?itok=uySAk9r7)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1690205000/79bc4dc6-ee1f-4417-b26f-02beddca13a9.jpg?itok=uySAk9r7)
Siemens
IN
HI,
As per my understanding, radio button control is mainly intended to select one of the options available, but checkbox is used to select/deselect value for each individual option.
Could you use a checkbox control instead and let us know the outcome ?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Agora Group, Inc.
IN
Issue is resolved . It was actually issue in RG settings. We should put the presentation as inline instead of none. But i still have another issue i gave on click activity on radio button to copy data when its selected. But on click on radio button it doesnot trigger. I tried with data transform also same issue.
Can u help
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Evonsys
IN
Hi Vinay,
If you are using the version 7.2.1 the below link might be useful.
Thanks & Regards,
Rajasekhar V.
Accepted Solution
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1690205000/79bc4dc6-ee1f-4417-b26f-02beddca13a9.jpg?itok=uySAk9r7)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1690205000/79bc4dc6-ee1f-4417-b26f-02beddca13a9.jpg?itok=uySAk9r7)
Siemens
IN
Apparently radio button does not support on click events.
I found the following link.
https://community.pega.com/support/support-articles/activity-not-running-clicking-grid-radio-button
https://collaborate.pega.com/question/click-radio-button-refresh-not-working
Looks like radio button control is known to have issues when used with the grid. You might have to write a manual script to fulfill the requirement. Below is a script configured to refresh on click of a radio button. You can tweek it as per your requirement.
Alternately I would suggest using checkbox as the selection control.
Apparently radio button does not support on click events.
I found the following link.
https://community.pega.com/support/support-articles/activity-not-running-clicking-grid-radio-button
https://collaborate.pega.com/question/click-radio-button-refresh-not-working
Looks like radio button control is known to have issues when used with the grid. You might have to write a manual script to fulfill the requirement. Below is a script configured to refresh on click of a radio button. You can tweek it as per your requirement.
Alternately I would suggest using checkbox as the selection control.
<script>
var radioButtons = document.getElementsByTagName('input');
for(var i=0;i<radioButtons.length;i++)
{
if(radioButtons[i].type=='radio')
{
var attribut= radioButtons[i].getAttribute("onclick");
if(attribut=="Grids.getActiveGrid(event).setOtherRadioToFalse(this, event );")
{
radioButtons[i].addEventListener("click", function(){
pega.u.d.refreshSection("SecondSection",",");
});
}
}
}
</script>
-
Thaveesha Cabral
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689877000/122ddbf9-8ed7-431e-8c0c-0892f658c39d.png?itok=HwmzfVHs)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689877000/122ddbf9-8ed7-431e-8c0c-0892f658c39d.png?itok=HwmzfVHs)
Pegasystems Inc.
US
Hi,
On radio button click, there is an implicit function configured whose purpose is to set the other options on the Radio button to false.
Also, I am not sure if you are trying to post data to clipboard or where exactly you wanted to copy data. Please clarify these details.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Evonsys
IN
Hi Pavani,
Could you try with the control called pzGridRadioButton.Hope it helps.
Regards,
Rajasekhar V.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
IN
ok Rajasekhar will try and update you. Thank you