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

Demo broken ? #24

Open
FilipeCosta06 opened this issue Dec 27, 2019 · 2 comments
Open

Demo broken ? #24

FilipeCosta06 opened this issue Dec 27, 2019 · 2 comments
Labels

Comments

@FilipeCosta06
Copy link

Just wanted to signal that the demo is broken (won't properly initialise, error in console)

http://cheton.github.io/react-infinite-tree/

@cheton cheton added the bug label Jan 2, 2020
@FilipeCosta06
Copy link
Author

Hey again,
I'm assuming this repos is abandoned but I still had a question:
I was wondering if updating a single node (say for instance if I wanted to rename it, adding or deleting it) required me to reassign all of the data source or if there was a way to target a specific node. I've noticed that most treeview libraries didn't include such functionality (probably because they are expecting large data-sets) but maybe I'm just missing something dead simple.

@Thalandor
Copy link

Thalandor commented May 3, 2020

you have the updatenode function https://github.com/cheton/infinite-tree/wiki/Functions:-Tree#updatenodenode-data-options
This would work for renaming it at least.

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

No branches or pull requests

3 participants