Question
Pegasystems Inc.
US
Last activity: 6 Apr 2016 15:03 EDT
On Click of Radio Button & Refresh Not Working
Hi,
We have a use case where we need to refresh the section on click of a radio button.
My developer (from Accenture) said it is not working from the Grid and GCS also confirmed it.
But this seems a standard configuration that should work? Could you confirm whether his claim is true?
We are using ML8.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 5 Apr 2016 13:50 EDT
Will,
Using radio buttons like this in a grid can be extremely tricky. Searching through the Mesh and PDN, there's a number of similar posts:
- https://community.pega.com/support/support-articles/radio-button-configuration-issue-repeat-grid
- SR-A12391 - Sev 2 - How to post Radio Button values in grid - 7.1.9
- https://community.pega.com/support/support-articles/radio-buttons-grid-0
- https://community.pega.com/support/support-articles/activity-not-running-clicking-grid-radio-button (this SA claims that OnClick isn't even supposed to work with this)
With varying resolutions.
Basically, it seems like the advice is to either use custom code to manage the selection of the correct radio buttons, or use a different control entirely such as pzGridRadioButton or a checkbox (with an activity that unchecks all others when a new one is selected).
Hi Will,
Could you provide some details regarding how it's not working? Does the section not refresh? Does the radio button not become selected?
Pegasystems Inc.
US
Thanks David.
Sure, let me gather more details from my team..
Pegasystems Inc.
US
Accepted Solution
Updated: 5 Apr 2016 13:50 EDT
Will,
Using radio buttons like this in a grid can be extremely tricky. Searching through the Mesh and PDN, there's a number of similar posts:
- https://community.pega.com/support/support-articles/radio-button-configuration-issue-repeat-grid
- SR-A12391 - Sev 2 - How to post Radio Button values in grid - 7.1.9
- https://community.pega.com/support/support-articles/radio-buttons-grid-0
- https://community.pega.com/support/support-articles/activity-not-running-clicking-grid-radio-button (this SA claims that OnClick isn't even supposed to work with this)
With varying resolutions.
Basically, it seems like the advice is to either use custom code to manage the selection of the correct radio buttons, or use a different control entirely such as pzGridRadioButton or a checkbox (with an activity that unchecks all others when a new one is selected).
Updated: 5 Apr 2016 13:57 EDT
Pegasystems Inc.
US
Thanks David.
I hope that Pega7 will gracefully support the OOTB radio button event inside Grid in future.
For now, we will explore different options.
Sure, but this is actually a pretty tricky design for anyone to get right, even Designer Studio - I believe one of the main issues is that this ends up being constructed as if each radio button is it's own group, instead of each button in the grid being in one group (which wouldn't be possible given how the repeat grid is generated).
Pegasystems Inc.
US
Hi WIll,
From you screen shot, it appears you observe only one radio button of the three (or more) options available Option A, Option B , Option C. Could you please try the following and check if the issue is still reproducible
1. Enable "ROws alwys editable" on your grid's operation settings. This should help show all the values
2. . Configure On Change + refresh on the Radio button and check if the issue is reproducible ?
Pegasystems Inc.
US
Krithigassree,
Thank you for the suggestion.
I tried and still did not see anything in the Tracer. Looks like this is more complicated than it seems.
This will be a great product improvement as this is a common use case from the field.
Thanks,
Will
Pegasystems Inc.
US
Hi Will,
When I tried the above configuration in 7.1.9 I was able to observe the reloadSection called correctly on tracer.
Not sure why you are facing the issue
Pegasystems Inc.
US
oh ok, that is good news.
I'm using ML8. Maybe we fixed it in ML9? Do you have ML8 to try the same?