Skip to main content

TcxCustomTreeList.OnFilterNode Event

Enables you to filter out specific nodes.

Declaration

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