Question
8
Replies
5502
Views
Posted: May 12, 2017
Last activity: May 23, 2017
Closed
Display pagelist data as a list view inside a section
Need to display pagelist data as a list view in a section.
I already have pxResults with data on the clipboard. So, i dont need to create a list view but just display the results like a list view (row clickable format) inside the current assignment (section). On click of the row, we need to go to a new assignment by passing the row data of the clicked row to that assignment & continue the existing flow.
Using PRPC 6.3 SP1 version.
Please see attachment
Hello Karunakar,
I understand that you have data in the clipboard and you would like to display that as a list view to leverage list view features.
If this is the case then you can use repeat grid layout with source as a property. This should display the values of the pxResults as you expected. However, to implement the "On click of the row, we need to go to a new assignment by passing the row data of the clicked row to that assignment & continue the existing flow", you can use RunScript event on click of the row and pass the javascript function(as like openAssignemnt in listview) that you want to instantiate
Below is the screen print of RunScript Event on Repeat Grid row
.
You can keep the definition of the js method (openAssignment) in the UserWorkForm rule with in <script> </script> tags
As the ListViews are deprecated in Pega 7, We recommend to use "Repeat Grid " Configuration instead of ListView. This configuration works as expected in future if you upgrade to Pega 7.
Hope this suggestion suits your requirement. Please feel free to add your comments/thoughts if any.
Thank you,