Files to look at:
- Form1.cs (VB: Form1.vb)
- Program.cs (VB: Program.vb)
This example demonstrates how to provide custom group intervals for the DateTime field via the PivotGridControl.CustomGroupInterval and PivotGridControl.FieldValueDisplayText events. It allows you not to use the PivotGridControl.CustomFieldSort event to preserve a correct sort order.
This example was created with the XtraPivotGrid control for WinForms, but this approach can be used for the ASPxPivotGrid and DXPivotGrid controls, too.