No action launches on clicking Expand icon on a row
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.
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
This behavior is as per the Pega product design.
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