This sample demonstrates the way of binding self-referential flat data to Tree Grid component.
Tree Grid can be bound either to local or remote data services. The{" "}
dataSource
property can be assigned either with the array
of JavaScript objects or instance of DataManager
.
In this demo, the array of self-referential flat data with parent ID is assigned as the data source to the Tree Grid.
More information on the self-referential data binding can be found in this documentation section.