Skip to main content
A newer version of this page is available. .

TcxCustomGridTableItem.OnGetFilterDisplayText Event

Enables you to customize item captions displayed in the filter dropdown list.

Declaration

property OnGetFilterDisplayText: TcxGridGetFilterDisplayTextEvent read; write;

Remarks

This event is fired for each item contained in the filter dropdown list.

The Sender parameter specifies the column for which the list is to be displayed.

The AValue and ADisplayValue parameters specify the filter value and caption of a list item. Pass a new caption as the ADisplayValue parameter.

You can handle the OnGetFilterValues or TcxDataFilterCriteria.OnGetValueList event to customize the list (add or delete its items).

See Also