react-checkbox-tree
react-checkbox-tree copied to clipboard
How to link two trees?
I have two trees that I would like to sync up. The trees will be slightly different but will contain some nodes with the same id's.
When I click a node on one (thus highlighting it) I would like it to get highlighted/selected on the other (if it exists). This should work either way round. I have got the expanded and checked to sync up, but can see how to set the selected nodes?
Unfortunately there is no mechanism to highlight an individual tree node, nor any way to sync navigation through a tree (e.g., through scrolling with there is a scrollbar).