A TreeView item is selected when its
selected field is set to
selected, you can implement your own field by setting the
selectField 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.