Support Article
No action launches on clicking Expand icon on a row
SA-69851
Summary
Requirement to launch actions on a tree grid action set while clicking the Expand icon and a row. Script, set focus and data transform are launched on clicking a row. However, when user clicks the Expand icon on the row, no action is launched.
Error Messages
Not Applicable
Steps to Reproduce
- Create a tree grid with some data. One or more rows must be expandable
- Create an action set on the tree grid with actions like run data transform or run script
- Create a case
- Launch a section with the tree grid
- Click the expand icon
Root Cause
This behavior is as per the Pega product design.
Resolution
Here’s the explanation for the reported behavior:
Click Expand and Collapse icon on row is completely a different functionality other than clicking the row. The action set for expand and collapse of a row on the tree grid is not supported by Pega. When an action set is configured in the tree grid layout, it is always configured as row level. When user clicks the Expand icon of the row, only its children display. It is not possible to configure an action set for clicking the Expand or Collapse icon for a tree grid.
Perform the following local-change:
- Configure an activity
- Refer the activity in the Defer load activity of the General tab of the Tree Grid layout. The activity is executed before the children are rendered
Published August 19, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.