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

TcxCustomGridTableItem.OnInitGroupingDateRanges Event

In This Article

Enables you to customize the item’s collection of grouping date ranges.

#Declaration

Delphi
property OnInitGroupingDateRanges: TcxGridInitDateRangesEvent read; write;

#Remarks

Once this event fires, the item’s collection of grouping date ranges is initialized with base grouping date ranges that are common to all View items. Use the View’s OnInitGroupingDateRanges event to customize the base collection. An item’s OnInitGroupingDateRanges event allows you to further adjust the item’s collection of grouping date ranges.

The Sender parameter references the item.

The ADateRanges parameter provides access to the item’s collection of grouping date ranges. You can access this collection via the item’s GroupingDateRanges property. You can use this parameter to add and remove built-in and custom date ranges. See the Adding Custom Filter and Grouping Date Ranges topic for an example of using this parameter.

See Also