To render an expand icon next to each parent item, set the
expandIcons property of the TreeView to
A TreeView item is expanded when its
expanded field is set to
true. Instead of
expanded, you can implement your own field by setting the
expandField property to the name of that custom field.
The TreeView component is part of KendoReact, a professionally built commercial UI library. To try out this component you need to sign up for a 30-day trial, which gives you access to the full KendoReact library.