Treeview with multiple levels

1 Answer 109 Views
TreeView
SoH
Top achievements
Rank 1
Iron
Veteran
Iron
SoH asked on 17 Apr 2023, 08:01 PM

Is there a way to get the treeview to work with multiple levels deep?

I've added an extra level here but it's not expanding:
https://codesandbox.io/s/nervous-dew-yw73lj?file=/app/main.tsx

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 19 Apr 2023, 04:22 PM

Hello,

You can expand/collapse recursively  all nested nodes by using the `mapTree()` method available in the `@progress/kendo-react-treelist` package:

For convenience I have modified the provided example so you can test the suggested approach directly:

Regards,
Vessy
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
TreeView
Asked by
SoH
Top achievements
Rank 1
Iron
Veteran
Iron
Answers by
Vessy
Telerik team
Share this question
or