Last activity: 6 Apr 2016 15:03 EDT
On Click of Radio Button & Refresh Not Working
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.
Could you provide some details regarding how it's not working? Does the section not refresh? Does the radio button not become selected?
Sure, let me gather more details from my team..
Updated: 5 Apr 2016 13:50 EDT
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:
- SR-A12391 - Sev 2 - How to post Radio Button values in grid - 7.1.9
- 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
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).
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 ?
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.
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
oh ok, that is good news.
I'm using ML8. Maybe we fixed it in ML9? Do you have ML8 to try the same?