react-infinite-tree icon indicating copy to clipboard operation
react-infinite-tree copied to clipboard

Demo broken ?

Open FilipeCosta06 opened this issue 5 years ago • 2 comments

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

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

FilipeCosta06 avatar Dec 27 '19 15:12 FilipeCosta06

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.

FilipeCosta06 avatar Feb 28 '20 19:02 FilipeCosta06

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.

Thalandor avatar May 03 '20 15:05 Thalandor