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

HierarchyBindingDirective

A directive which binds the TreeList to a tree of objects.

The directive encapsulates the in-memory handling of data operations such as sorting, aggregation and filtering (more information and examples).

Selector

[kendoTreeListHierarchyBinding]

Export Name

Accessible in templates as #kendoHierarchyBindingInstance="kendoTreeListHierarchyBinding"

Inputs

NameTypeDefaultDescription

aggregate

any

Defines the descriptor by which the data will be aggregated.

childrenField

string

The name of the field which holds the child data items of the node.

kendoTreeListHierarchyBinding

any[]

The array of data which will be used to populate the TreeList.

filter

CompositeFilterDescriptor

Defines the descriptor by which the data will be filtered.

sort

SortDescriptor[]

Defines the descriptors by which the data will be sorted.

Methods

rebind

Clears the directive cache and reloads the component data.

In this article

Not finding the help you need?