Examples of openFolder()


Examples of com.smartgwt.client.widgets.tree.Tree.openFolder()

    tree.setRootValue("topLevel");
    tree.setData(SampleArray.getSampleArray());

    setData(tree);
    // tree.openAll(tree.getRoot());
    tree.openFolder(tree.getChildren(tree.getRoot())[2]);
  }
}
View Full Code Here

Examples of com.smartgwt.client.widgets.tree.Tree.openFolder()

                    }
                }

                if (node != null) {
                    // open the node, this will force a fetch of child data if necessary
                    theTree.openFolder(node);

                    // special case code to handle a "deployments" path. the path structure does not mirror the
                    // tree structure, so we may have to manually force the "destinations" folder to open, and
                    // then its children (deployment nodes)
                    if (key.endsWith("deployments")) {
View Full Code Here

Examples of com.smartgwt.client.widgets.tree.Tree.openFolder()

                    showSample(explorerTreeNode);
                    sideNav.selectRecord(explorerTreeNode);
                    Tree tree = sideNav.getData();
                    TreeNode categoryNode = tree.getParent(explorerTreeNode);
                    while (categoryNode != null && !"/".equals(tree.getName(categoryNode))) {
                        tree.openFolder(categoryNode);
                        categoryNode = tree.getParent(categoryNode);
                    }
                }
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.