The TreeView offers an out-of-the-box solution for local flat data through the kendoTreeViewFlatDataBinding directive. Here's an example. Note that you need to specify the idField and the parentIdField properties for the directive to know which items are related.
Alternatively, you can filter the items yourself. To do so, you will have to implement the children and hasChildren callbacks of the TreeView. Also, the nodes property will have to point to a filtered collection that includes only those data items that should be rendered as root nodes. Here's the article from our docs on data binding and here's an example.
Let me know if further information on the topic is required.
Progress is here for your business, like always. Read more
about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.