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.OnInitFilteringDateRanges Event

In This Article

Allows you to customize the item’s collection of filter date ranges.

#Declaration

Delphi
property OnInitFilteringDateRanges: TcxGridInitDateRangesEvent read; write;

#Remarks

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

The Sender parameter references the item.

The ADateRanges parameter provides access to the item’s collection of filter date ranges. You can access this collection via the item’s FilteringDateRanges 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.

See Also