Want to handle click event and toggle seperately for react treebeard
I want to expand the tree on click of arrow icon, but it should not re render the content of the tree. For example -
http://alexcurtis.github.io/react-treebeard/
As you can see collapsing the tree changing the right pane content of the tree. That I don't want.
I want onClick and onToggle to behave differently.
Clicking on the Arrow beside each folder should only expand the tree, not display it's contents on the right panel. Select a folder should display it's content on the right panel.
have you resolve it? i have similar issue, can you give me some advises?
It would be cool to have some more customization around how the clicks behave for arrow/text.
I have kind of a similar case where I'd like to only expand when clicking on the arrow and not the text.
I'm using this for a CMS data structure that is not a folder structure per say. When clicking on one of the parent items, it becomes editable in a right pane view.