# Flat Data

The KendoReact TreeList provides a built-in function to convert flat data to a tree that can be visualized by the component.

To covert the flat data to a tree, utilize the [`createDataTree`](https://www.telerik.com/kendo-react-ui-develop/components/treelist/api/createdatatree) function of the TreeList.

[Demo Source](https://demos.telerik.com/kendo-react-ui/treelist/flat-data/func/source.txt)

## Suggested Links

* [API Reference of the TreeList](https://www.telerik.com/kendo-react-ui-develop/components/treelist/api/treelistprops)
