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

FlatBindingDirective

A directive which binds the TreeList to an array of objects by using an ID and parentID 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

aggregate

any

Defines the descriptor by which the data will be aggregated.

kendoTreeListFlatBinding

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.

idField

string

The name of the field which contains the unique identifier of the node.

parentIdField

string

The name of the field which contains the identifier of the parent node.

sort

SortDescriptor[]

Defines the descriptors by which the data will be sorted.

Methods

rebind

Clears the directive cache and reloads the component data.