y1feng200156 / dynatree

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

Improve getSelectedNodes #462

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What new or enhanced feature are you proposing?

At the moment I am using selectMode = 3.
When calling function getSelectedNodes, it only includes selected node
(node.bSelected). I also want this methods to return node.hasSubSel. 

At the moment. I just update the code to consider node.hasSubSel

What goal would this enhancement help you achieve?

Give flexibility for the users to control what to nodes to returns.

Original issue reported on code.google.com by revin.ha...@gmail.com on 19 Nov 2013 at 10:38

GoogleCodeExporter commented 9 years ago

Original comment by moo...@wwwendt.de on 20 Nov 2013 at 6:52

GoogleCodeExporter commented 9 years ago
Thats a very special requirement that could be easiliy implemented using 
`tree.visit()`
(I would not recommend the patch library code for that)

Original comment by moo...@wwwendt.de on 20 Nov 2013 at 9:53