hi,
use this code:
final List<Node> checkedNodes = new ArrayList<Node>();
final List<Node> allNodes = new ArrayList<Node>();
treePanel.getRootNode().cascade(new NodeTraversalCallback() {
public boolean execute(Node node) {
if (Boolean.valueOf(node.getAttribute("checked"))) {
checkedNodes.add(node);
}
allNodes.add(node);
return true;
}
});
bye Patrizio
2009/7/9 subbu <[email protected]>
>
> HI,
> I am using an editable tree with check box.I need the ids of all
> the nodes that are checked and unchecked.When using
> TreePanel.getChecked().i get the all the checked nodes.Is there any
> way to get all the nodes as a TreeNode array.
>
> Thanks and Regards,
> Subash K. S
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---