public class PivotGridWebGroupCollection :
Public Class PivotGridWebGroupCollection
Fields can be grouped so that they are always kept together. For instance, if you drag a field from a group to another position, the entire group is moved.
The ASPxPivotGrid control stores its groups within the ASPxPivotGrid.Groups collection. This collection is represented by the PivotGridWebGroupCollection class. Members of this class can be used to add, delete, access individual groups and perform other common collection management tasks. To ungroup the fields, the group must be removed. Note that fields are not disposed of in this case.
This example shows how to arrange fields into groups.
In the example, two fields, 'Quantity' and 'UnitPrice', are combined into a new group. This ensures that the 'UnitPrice' field will be followed by the 'Quantity'. If the 'UnitPrice' field is dragged to another area, the 'Quantity' field will be dragged as well.