Issue 102: Don't get node with multi-hier status
Status:  WontFix
Owner: ----
Closed:  Jun 2009
Reported by zz...@163.com, Jun 18, 2009
What steps will reproduce the problem?
1.call tree.getSelectedNodes(true)
2.
3.

What is the expected output? What do you see instead?
get all of nodes with multi-hier status

What version of the product are you using?
On what operating system and browser?
I'am 0.5 version of produdct.

Please provide any additional information below.

Jun 18, 2009
Project Member #1 moo...@wwwendt.de
you passed stopOnParents=true, so only selected roots are returned.
Could you be more specific, what didi not work?
Jun 19, 2009
#2 zz...@163.com

1 var selectedNodes =tree.getSelectedNodes(false);
2 var selectedNodes =tree.getSelectedNodes(true);
3 var selectedNodes =tree.getSelectedNodes(stopOnParents=false);
4 var selectedNodes =tree.getSelectedNodes(stopOnParents=true);

All results is same:

selectedNodes include nodes of selected==true and no include nodes of multi-hier .

I'am using 0.5 version of product
Jun 19, 2009
Project Member #3 moo...@wwwendt.de
Can you reproduce it at example #4 here?:
http://wwwendt.de/tech/dynatree/doc/sample-select.html
Jun 19, 2009
#4 zz...@163.com
at example #3:
http://wwwendt.de/tech/dynatree/doc/sample-select.html

It don't get node of multi-hier status(checkbox of node is green square).

How to get nodes with green square checkbox at example #3?
Jun 19, 2009
Project Member #5 moo...@wwwendt.de
This is not currently supported.
But you can use the visit() method and check for node.hasSubSel, or use a jQuery
selector to select class 'ui-dynatree-partsel'.
Status: WontFix
Jun 20, 2009
#6 zz...@163.com
If I use a jQuery selector to select class 'ui-dynatree-partsel',how to get 
node.data.key of each JQuery Object ?

$(".ui-dynatree-partsel).each(function(){
    
});

thanks!

Jun 21, 2009
Project Member #8 moo...@wwwendt.de
For example
$(".ui-dynatree-partsel").each(function(){
    var dtnode = $(this).attr("dtnode");
    [...]
});

Jan 26, 2013
Project Member #9 moo...@wwwendt.de
(No comment was entered for this change.)
Labels: Milestone-Release0.0