Expose onSelect event to Tree componentSee original GitHub issue
I need to listen for the tree node select event via the Tree component. Would it be possible to add this?
My use case is I’m using check-boxes to select multiple tree nodes using the
handlers.select which has shift-click but I only want one event to fire.
Kind regards, Marten
- Created a year ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
Yes! This is in the works.
Awesome. That makes sense. The selection prop in version 2 will do exactly what you want. That was my use case as well.
Mine was like VSCode where you have tabs and each time you switch tabs, I wanted the selection to change to match the tab.