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 235: rootNode.countChildren() returns all the nodes in the tree, getChildren() returns the correct number
2 people starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  May 2014


 
Reported by jjcool...@gmail.com, Oct 18, 2011
What steps will reproduce the problem?
1. create a tree with at least two levels of visible nodes
2. get the root node, then print out rootNode.countChildren()
3. print rootNode.getChildren().length



What is the expected output? What do you see instead?
Expecting both print out should be the same.
However, countChildren() returns the number of all nodes in the tree,
getChildren() returns correctly, the direct descendants

What version of the product are you using?
1.2.0
On what operating system and browser?
Chrome on Windows 7

Please provide any additional information below.

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