The ReportGrouping function will collapse or expand groups within the sheet when triggered upon a designated event. This function is helpful in grouping or ungrouping sections in a ReportVariable after it is generated.
A pull or save action are designated as the run event.
A run event (defined in OnPullSaveOrBoth) will trigger this function being ran.
Only column groupings will be acted upon when this function is triggered.
The column groupings will collapse upon being triggered.
This function will run.
Trigger Combination List
The execution of this function is determined by a combination of an Interject action and an Interject event. An action is a pull or save action whereas an event is a clear or run event. The values in the OnPullSaveOrBoth and OnClearRunOrBoth arguments will determine what actions/events trigger the function's execution.