New to Kendo UI for Angular? Start a free 30-day trial
HierarchyBindingDirective
Represents the Kendo UI for Angular TreeList hierarchy binding directive. Use this directive to bind the TreeList to a tree of objects using a field that holds child data items. Handles in-memory data operations sorting, aggregation and filtering. More information and examples.
html
<kendo-treelist [kendoTreeListHierarchyBinding]="data" [children]="childrenField"></kendo-treelist>
Selector
[kendoTreeListHierarchyBinding]
Export Name
Accessible in templates as #kendoHierarchyBindingInstance="kendoTreeListHierarchyBinding"
Inputs
Name | Type | Default | Description |
---|---|---|---|
aggregate |
|
Sets the descriptor that aggregates the data. | |
childrenField |
|
Sets the name of the field that holds the child data items of the node. | |
kendoTreeListHierarchyBinding |
|
Sets the array of data that populates the TreeList. | |
filter |
|
Sets the descriptor that filters the data. | |
sort |
|
Sets the descriptors that sort the data. |
Methods
rebind |
---|
Clears the directive cache and reloads the component data. |