Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomGridTableDateTimeHandling.Grouping Property

Specifies a date/time grouping option that determines time periods to be used as grouping values in group rows.

#Declaration

Delphi
property Grouping: TcxGridDateTimeGrouping read; write; default dtgByDateAndTime;

#Property Value

Type Default
TcxGridDateTimeGrouping dtgByDateAndTime

#Remarks

Refer to the description of the TcxGridDateTimeGrouping type to learn about available date/time grouping options.

Note that setting the Grouping property to dtgDefault automatically assigns dtgByDateAndTime to this property.

To specify a date/time grouping option for a particular item, use the item’s DateTimeGrouping property.

Handle the OnInitGroupingDateRanges event of a View or an item to customize a collection of grouping date ranges created for each item.

The default value of the Grouping property is dtgByDateAndTime.

See Also