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
348
Double Click on UltraWebTree Node change the Scroll position
posted

I am using the UltraWebTree.When I double  click on the node, the node become in Edit mode but it scrolls the position to top. What I need is the scroll position should not be changed. Can any body help me by solving such problem.I am not using postback in my page.I apreciate your time u will be spend on me.

Mukesh

Parents
No Data
Reply
  • 7694
    Verified Answer
    posted

     Hello,
    You can use the JS method scrollIntoView() also  this method is available server side . Please take a look at the JS code below:
        function Scroll(treeId, nodeId, b) {
                var tree = igtree_getTreeById(treeId);
                var node = igtree_getNodeById(nodeId);
                node.scrollIntoView();
            }
    Hope this helps.

Children