Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update react-ui-tree.js #14

Open
wants to merge 3 commits into
base: gh-pages
Choose a base branch
from
Open

Update react-ui-tree.js #14

wants to merge 3 commits into from

Conversation

dannav
Copy link

@dannav dannav commented Oct 17, 2015

I don't think this is necessary. I may want to move a node under another if it's collapsed. Also this prevents moving any nodes without children under another in the same tree node.

I don't think this is necessary. I may want to move a node under another if it's collapsed. Also this prevents moving any nodes without children under another in the same tree node.
allow creation of static tree to prevent manipulation of structure if defined
@wangzuo
Copy link
Contributor

wangzuo commented Oct 19, 2015

Is this the same problem with issue #13 ?

@dannav
Copy link
Author

dannav commented Oct 19, 2015

I'm sorry I should have been more explicit. Yes this change allows you to add nodes to leaf nodes so it should fix that user's problem as well.

@dannav
Copy link
Author

dannav commented Oct 19, 2015

I've also added a prop to define a tree as static to prevent manipulation if a user just wants to display the structure which would resolve issue #6

@wangzuo
Copy link
Contributor

wangzuo commented Oct 20, 2015

Whats the new feature for this pr?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants