| Issue 102: | Don't get node with multi-hier status | |
| 1 person starred this issue and may be notified of changes. | Back to list |
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
Jun 19, 2009
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
Can you reproduce it at example #4 here?: http://wwwendt.de/tech/dynatree/doc/sample-select.html
Jun 19, 2009
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
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
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
For example
$(".ui-dynatree-partsel").each(function(){
var dtnode = $(this).attr("dtnode");
[...]
});
Jan 26, 2013
(No comment was entered for this change.)
Labels:
Milestone-Release0.0
|