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

TcxCustomTreeList.OnFilterNode Event

In This Article

Enables you to filter out specific nodes.

#Declaration

Delphi
property OnFilterNode: TcxTreeListFilterNodeEvent read; write;

#Remarks

This event fires after applying the filter criteria specified via the Filter property and allows you to further filter nodes.

Sender specifies the tree list.

ANode specifies the node being processed.

Pass False as the Accept parameter to filter out the node and hide it in the tree list. Otherwise, the node and all its parent nodes are considered to meet all filter criteria. In essence, the tree list displays a node if any of its children meet the filter criteria, even if the node does not.

Note

This event fires for all nodes matching the filter criteria provided by the Filter property, including those hidden either via their Visible property or within collapsed parents.

See Also