This example illustrates how to group a report dynamically. Report grouping is changed once a new parameter value is submitted.
The main idea is to handle the XtraReport.BeforePrint event, clear the GroupHeader.GroupFields collection, and then add a new GroupField item based on a parameter value.
The main idea is to handle the XtraReport.BeforePrint event, clear the GroupHeader.GroupFields collection, and then add a new GroupField item based on a parameter value.