Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
570
Get a node from web data tree.
posted

Hi, previously we used use ultra web tree, save a particular node's id, and later used it. We did it the following way:

var currentNodeId;

function UltraWebTree1_NodeClick(treeId, nodeId, button) {

currentNodeId = nodeId;

}

function renameNode() {

    var treeInstance = igtree_getTreeById(UltraWebTreeClientID);
   
    var currentNode = treeInstance.getNodeById(currentNodeId);   
    currentNode.edit();   
   
}

So, we need to do the same thing for web data tree. (Client side, using javascript)

1. We need to store web data tree node's ID/ Key, or any unique value

2. Later we need to get the node from the webdatatree using that unique value.

So far, we are unable to do that. Any help would be appreciated. Thanks in advance...

Parents
  • 33839
    Suggested Answer
    posted

    Hi Guys,

    If you are not actually going back to the server, you can simply save off the node itself.  Off the tree object, there should be an _id property you can access.  the node is available off the node click client event args as args.GetNode().  Let me know if this is insufficient.

    regards,
    David Young 

Reply Children