I have a simple question: Is there is any way to walk through a celltree without using node.setChildOpen(i, true)?
I have this code sample:
public void find(TreeNode node) {
for (int i = 0; i < node.getChildCount(); i++) {
if (!node.isChildLeaf(i)) {
find(node.setChildOpen(i, true));
}
}
}
Thanks
EDIT
I posted the complete code here
How to get the path of a selected item from a CellTree in GWT
No, you have to use recursion to traverse through the
CellTreeNodes.