How can i get selected node on clientside using C1TreeView?

Posted by: magic_bean on 10 September 2017, 11:34 am EST

  • Posted 10 September 2017, 11:34 am EST

    I have a problem on getting selected node at client side using C1TreeView.


    var treeview = document.getElementById(TreeViewGroupClientID).control;
    var selectedNode = treeview.get_selectedNodes()[0];

    it is a pity that treeview.get_selectedNodes() return null

    ...Many thanks




  • Replied 10 September 2017, 11:34 am EST

    I've tried your code,and i get the selected nodes.

    you can run your code on our demo page with firebug.

    I want know the version you used in your project.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels