My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 291: .remove() does not work for hidden nodes
4 people starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  May 2014


 
Reported by jgroth83, Feb 29, 2012
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



May 1, 2014
Project Member #1 moo...@wwwendt.de
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
Status: WontFix
May 2, 2014
Project Member #2 moo...@wwwendt.de
Cleanup Scrumboard
Labels: Milestone-Release2.0

Powered by Google Project Hosting