The TreeView's plain (one-dimensional) array contains items each of which references its parent item. Use either of the following properties to bind the component to plain data:
Assigns a local array as shown in this demo.
Assigns a DataSource object that allows you to perform data shaping operations and use a remote source.
Each object in the TreeView's plain data structure should include the following fields:
You can respectively use the keyExpr, parentIdExpr, and displayExpr properties to specify custom names for the above-mentioned fields. Node objects can also include developer-defined fields and properties from this help section: items.