Skip to main content

TcxCustomGridTableItem.OnInitFilteringDateRanges Event

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

Declaration

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