Question
Converting a list view to Report definition, where to place the script containing single click and double click functions
Hi,
I am trying to convert a listview to Report Definition.
In List view, we had called functions for single click and double click and mentioned the JS file in 'Fragment for script functions'.
Now in the report, I need to configure single and double click functions which I had configured through a js file in the list view. How can we achieve that in Report definition.
I have figured out where to call scripts on single click and double click but dont where to keep the js script.
So I can configure to call a script on click where it asks for function but I am not sure where to keep the js script which contains those functions.
Hello Sudeep,
The single click and double click functionalities are in build and you cant customize it.
One possible alternative could be to display your rows via custom section and in that custom section embed your JS to make it work as per your requirement.
To use a section to display the report body, go to Report Viewer Tab of the Report Definition rule form and check out the option "Display rows using custom section"option.
See help here : https://pdn.pega.com/sites/pdn.pega.com/files/help_v719/procomhelpmain.htm#rule-/rule-obj-/rule-obj-report-/rule-obj-rep…