New to Kendo UI for Angular? Start a free 30-day trial

TreeItemFilterState

These objects wrap each hierarchical node of the component. Represents a lookup structure which persists information about the current node, its filter state, parent and child nodes. Used in the filterStateChange.

NameTypeDefaultDescription

children?

TreeItemFilterState[]

The node's child nodes.

containsMatches?

boolean

Whether one of the node's children is a match or contains matches.

dataItem

any

The dataItem of the node.

index

string

The hierarchical index of the node.

isMatch?

boolean

Whether the node is a filter match.

parent

TreeItemFilterState

The node's parent node.

visible

boolean

Whether the node is visible or filtered out. Sometimes a node is visible but is not a match. For example, it's part of the parent chain of a match, or a child of a matching node in lenient filter mode.