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