Skip to main content

TcxCustomGridTableItem.OnGetFilterValues Event

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

Declaration

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