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

In This Article

Enables you to customize the View item’s filter dropdown list (add or remove specific list items).

#Declaration

Delphi
property OnGetFilterValues: TcxGridGetFilterValuesEvent read; write;

#Remarks

The Sender parameter references the View item whose filter dropdown is about to be displayed.

The AValueList parameter provides access to a TcxDataFilterValueList object that contains filter dropdown items. Use object properties and methods to add or remove individual items. In addition, you can add custom filter items to the list and handle the OnUserFiltering and OnUserFilteringEx events in response to selecting these items, in order to apply appropriate filters to the View. Refer to these events for examples on how to use them in combination with OnGetFilterValues.

Note

The OnGetFilterValues event is fired after a data controller’s Filter.OnGetValueList event.

See Also