Question
Murex
LB
Last activity: 2 Feb 2016 10:24 EST
Select All Checkbox Remains Selected
Hello,
We are facing a problem with a checkbox in a repeating grid. When I launch a new case, the first step contains a repeating grid with a Select All checkbox (see attachment ConfigureRows). If I select this "Select All" checkbox and click next, I get transported to the next screen which has the same functionality as the first. The problem is that upon entering that second stage, the "Select All" checkbox is already marked as true (see attachment ConfigureColumns) without us taking any action to select it.
I have tried to look for a way to reset that checkbox so that it defaults to be un-selected but I have been unsuccessful in doing so.
Any suggestions in regards to this matter?
Thank you for your help!
Message was edited by: Vidyaranjan Av Included Category
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
IN
Hi
You can think of using "pySelected" property against the checkbox which you are using for the option Select All / Deselect all.
Post that you can think of using a way to deselect the same when you are clicking next or when a new screen is loaded.
You may also check a post on this community : Unselect Checkbox After Action
Pegasystems Inc.
IN
Hi
Please check this support article once :https://community.pega.com/support/support-articles/repeating-grid-paging-pxcheckbox-select-all-does-not-work
Perhaps this can help you to solve !
Murex
LB
Thank you my friend
I'll check out the solution suggested by that article, but it definitely seems to be the one
Murex
LB
Hello Santano,
I tried the solution suggested by the article and it didn't work. I think the main difference here is that in my case it is not an issue of pagination. The Select All check box remains to be selected after I press the "Next" button between cases (so the Select All is staying selected from a Case 1 until Case 2).
Additionally, my repeating grid is reading from a data page. In the below screenshot, the repeating grid in the first stage is reading from D_MatrixRowsPopulationList and the repeating grid in the second stage is reading from D_MatrixColumnsPopulationList.
Also, I'd like to note that the Select All checkbox which is present in the first row of the repeating grid (which acts as the label for the columns) is not tied to a property and as such I couldn't find anything to set back to false.
Hello Santano,
I tried the solution suggested by the article and it didn't work. I think the main difference here is that in my case it is not an issue of pagination. The Select All check box remains to be selected after I press the "Next" button between cases (so the Select All is staying selected from a Case 1 until Case 2).
Additionally, my repeating grid is reading from a data page. In the below screenshot, the repeating grid in the first stage is reading from D_MatrixRowsPopulationList and the repeating grid in the second stage is reading from D_MatrixColumnsPopulationList.
Also, I'd like to note that the Select All checkbox which is present in the first row of the repeating grid (which acts as the label for the columns) is not tied to a property and as such I couldn't find anything to set back to false.
Again, thank you for your help
Accepted Solution
Pegasystems Inc.
IN
Hi
You can think of using "pySelected" property against the checkbox which you are using for the option Select All / Deselect all.
Post that you can think of using a way to deselect the same when you are clicking next or when a new screen is loaded.
You may also check a post on this community : Unselect Checkbox After Action
Murex
LB
Thank you for your reply Santanu
I am using another property (I called it IfRowSelected) which serves the same purpose of pySelected. My problem was that I was not including the property in the header (label) and as such the activity I was trying to use to reset the value to false was not working.
After I tried your suggestion to put in the label, I was able to reset the value using the activity.
Thanks a lot!
-
Muthuraj S
Pegasystems Inc.
IN
Glad that it worked !
Have a good week ahead !
Murex
LB
You too my friend!