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
364
How do I get the currently Selected Node?
posted

Hi,

I tried using the WebTree.SeelctedNode to get the currently selected node, but it keeps returning null.  I need to get this value before I reload the DataTree inside a WARP control, inside a WebSplitter Pane.

Any ideas?

Thanks, Mark

  • 1923
    Verified Answer
    posted

    You can use the following infragistics function to get the selected node:

     

    var node = igtree_getTreeById("UltraWebTree1").getSelectedNode();
    if (node) {

          // do whatever here...

    };