Question
Pegasystems Inc.
JP
Last activity: 30 Mar 2017 23:07 EDT
User is able to select multiple radio buttons in pagination
Hi,
I am using a repeating grid with paging and found it is possible for user to select multiple rows (1 select for each page). Well, this is a problem for us because radio button is to select just single row by nature. This seems to be a known issue and I found a solution in the following URL. Howerver, it is not working for me correctly. Is there any conditions? Why is this not working? Disabling paging is one solution but it is better user experience with paging, and I want to find out how I can get this solution to work.
[Solution URL]
https://collaborate.pega.com/question/user-able-select-multiple-radio-buttons-pagination
Pega Platform: 7.2
Thanks,
***Updated by moderator: Lochan to add Categories***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
JP
Customer agreed that they are okay with no pagination. So no debug is required at this time. Hope this issue will be gone in the future release by product level.
Thanks,
Pegasystems Inc.
IN
Hello,
I think that seems to be the right approach. Can you please added logger statements in the code provided and check whether there is any call going to the code (from solution) ?
Let us know the results.
Best Regards,
Mounika
Pegasystems Inc.
JP
Sorry, but how can I add "logger" statement in where? Could you please show how in detail?
Pegasystems Inc.
US
Hello,
In the above article which you referred has some log messages in the code snippet, you can uncomment them and check the log message output to check whether the call is being made or not. You can also add additional log messages in the code snippet to debug the code.
Regards
Mahesh
Pegasystems Inc.
IN
I meant you can add alert statements in the code snippet.
ex: console.log () or oLog.error() statements
Best Regards,
Mounika
Accepted Solution
Pegasystems Inc.
JP
Customer agreed that they are okay with no pagination. So no debug is required at this time. Hope this issue will be gone in the future release by product level.
Thanks,
Pegasystems Inc.
IN
Hello Tsuck,
Thanks for posting your query in PSC :)
I understand that Customer has agreed to go forward with no pagination.
Just sharing the resolution from below Support article if it helps at your end.
https://collaborate.pega.com/question/radio-button-issue-repeat-grid
(OR)
Use Progressive pagination, if this suits your business requirement.
Regards,
Rincy
Areteans Tech
AU
hi,
let take the radiobutton control as pyselected property.
now onchange of this property run an activity .
Step1 . Loop the pagelist and set the pyselected to false.
ie(this will set all the pages (pyselected to false))
step2 : property -set pyselected to true .
ie(this will set the current page pyselected to true)
let us know if this helps .
Adachi
JP
Hi,
I am facing exactly the same issue. I can't use progressive or no-pagination solution for my client and am looking for a good solution. I have looked at the following post but unfortunately I could not see the image. Can I get the image file or details on this?
https://collaborate.pega.com/question/radio-button-issue-repeat-grid
Thanks,
Pegasystems Inc.
US
Hello,
You can look into the attachment for the Support article resolution images.
Regards
Mahesh
Adachi
JP
Hi,
Thanks for the file. I tried but it is not working well. I have created a sample application to replicate the issue and attached. Could you please see the file and indicate which exactly has to be corrected?
Thanks,