The tree component allows to set the valueMember for the dataSource: https://www.htmlelements.com/react/demos/tree/overview/#toc-valuemember_string
The problem is I don’t know how to get the selections by this valueMember instead on the values in the property selectedIndexes. Should I track the values using onChange?
There is no way to manage expanded and checked items in a Controlled way?
Thanks in advance
In this code snippet also showcases a simple way to manage expanded and checked items.
Let me know if that works for you!
Please, do not hesitate to contact us if you have any additional questions.
Smart UI Team https://www.htmlelements.com/