FlatDataBindingDirective
Represents a directive that handles flat data binding and provides built-in filtering functionality for the TreeView.
Use this directive to bind flat data where parent-child relationships are defined by ID fields.
The directive also enables the built-in filter input and automatic filter handling when used with the filterable
property.
<kendo-treeview
kendoTreeViewFlatDataBinding
idField="id"
parentIdField="parentId"
textField="text"
[nodes]="data"
[filterable]="true">
</kendo-treeview>
Selector
[kendoTreeViewFlatDataBinding]
Inputs
Name | Type | Default | Description |
---|---|---|---|
filter |
|
Applies a filter and changes the visibility of the component's nodes accordingly. | |
filterSettings |
|
The settings which are applied when performing a filter on the component's data. | |
idField |
|
Specifies the field name that contains the unique node identifier. | |
nodes |
|
Specifies the flat data collection that renders as nodes in the TreeView. | |
parentIdField |
|
Specifies the field name that contains the parent node identifier. |