Skip to main content

TcxCustomGridTableDateTimeHandling.Grouping Property

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

Declaration

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