Question

Radio Button Control Format is not working in Grid layout
Hi Team,
I have an issue where Radio button control format is working normally(Showing the proper colour) in dynamic layout but it is not working when I use it in Grid Layout(I am using pyselected property for the radiobutton).
The source for Grid layout is Datapage which has data transform as its source. Depending on the conditions, I am setting pyselected property to either true or false.
I am not facing any issue with the checkbox but as per the requirement, we need to use Radiobutton.
Please find the attached screenshots and help me to resolve the issue.
Thanks in Advance!
Regards,
Divyateja
***Edited by Moderator Marissa to update platform capability tags***
-
Like (0)
-

Hi DivyaTeja,
Please use control "pzGridRadioButton" when you use it in Grid repeating layout.Attached screenshot for the reference.

Hi Swathi,
Thank you for the reply. I have tried to modify it to pzGridRadioButton but it is still the same issue.
I observed that there is no control format in Presentation tab upon changing this way.

Hi,
Could you please try with DisplayYesNo control?
Regards,
Gopesh

Hi,
I tried with DisplayYesNo control but it's still the same. Please find the attached.

Thanks for trying and sorry the solution didn't work.
Have you tried with customize control? You can reuse DisplayYesNo control's HTML and can customize as per your requirement. I think that would be easy.
Regards,
Gopesh

Can you try in the same in UI Gallery also? Please let us know the version of PRPC/Framework also.

Hi,
Could you please elaborate on the above process to try in UI Gallery?
We are using 7.3 Version of PRPC and Customer Service is the Framework.

Divyateja, rather than placing the radio buttons directly in the grid can you use a wrapper section defined on the grid class to contain the radio buttons, and embed the section in the grid cell. This should stop the automatic grid formatting that gets applied to the radio button.

Further to the above suggestion here is an example. I think that the single radio button format when configuring a true / false type property in the grid is expected to easily support the requirement to use a single radio button per grid row to select a single row.
Run time example of same radio button control configured directly in the grid, and in a wrapper section:
Wrapper section configuration:

Hi,
Thanks much for the reply. I have tried the above solution but it is still the same issue. Radio button is not coming in colour.