react-treebeard icon indicating copy to clipboard operation
react-treebeard copied to clipboard

Want to handle click event and toggle seperately for react treebeard

Open arjita-mitra opened this issue 8 years ago • 2 comments

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.

arjita-mitra avatar May 17 '17 10:05 arjita-mitra

have you resolve it? i have similar issue, can you give me some advises?

mavr1k avatar Sep 01 '17 10:09 mavr1k

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.

mwilc0x avatar Oct 18 '17 12:10 mwilc0x