Skip to content

DevExpress-Examples/pivot-grid-winforms-provide-custom-date-time-group-intervals-and-preserve-correct-sort-order

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Files to look at:

How to provide custom Date Time group intervals and preserve correct sort order

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.


About

This example shows how to provide custom group intervals for the pivot grid's DateTime field.

Topics

Resources

License

Stars

Watchers

Forks