FlatBindingDirective
A directive which binds the TreeList to an array of objects by using
an idField
and parentIDField
field to define the hierarchy.
The directive encapsulates the in-memory handling of data operations such as sorting, aggregation and filtering (more information and examples).
Selector
[kendoTreeListFlatBinding]
Export Name
Accessible in templates as #kendoFlatBindingInstance="kendoTreeListFlatBinding"
Inputs
Name | Type | Default | Description |
---|---|---|---|
aggregate |
|
Defines the descriptor by which the data will be aggregated. | |
kendoTreeListFlatBinding |
|
The array of data which will be used to populate the TreeList. | |
filter |
|
Defines the descriptor by which the data will be filtered. | |
idField |
|
The name of the field which contains the unique identifier of the node. | |
parentIdField |
|
The name of the field which contains the identifier of the parent node. | |
sort |
|
Defines the descriptors by which the data will be sorted. |
Methods
rebind |
---|
Clears the directive cache and reloads the component data. |