Sochettra / dynatree

Automatically exported from code.google.com/p/dynatree
0 stars 0 forks source link

.remove() does not work for hidden nodes #291

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The remove() function does not seem to work as expected.
My tree is loaded through initAjax and the server returns a JSON string.
In the onPostInit() method, i want to remove some of the nodes from the tree. 
If I call the remove() method, and exception is thrown, and it seems that the 
tree is trying to remove an <ul>.
I have also tried to remove the nodes in the onCreate() method, but I'm not 
able to do it there either.

Steps to reproduce the problem:
1. load the tree from ajax with initAjax
2. implement the onPostInit() method
3. remove some nodes down the tree that are not shown yet in onPostInit()
4. an exception is thrown

Original issue reported on code.google.com by jgroth83 on 29 Feb 2012 at 10:52

GoogleCodeExporter commented 8 years ago
As of 2014 Dynatree is feature frozen.
Please have a look at Fancytree (sequel of DynaTree 1.x): chances are good that 
the problem was resolved / the requested featuer is already implemented.
Please open a new issue there otherwise:

https://github.com/mar10/fancytree

Original comment by moo...@wwwendt.de on 1 May 2014 at 4:44

GoogleCodeExporter commented 8 years ago
Cleanup Scrumboard

Original comment by moo...@wwwendt.de on 2 May 2014 at 7:47