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
1923
Node scollIntoView not working
posted

Hi,

I have a tree that lives in a WebSplitter pane. The tree is much larger than the pane size (reason for the pane!) and therefore scrolling is used to look at the tree.

When calling the scrollIntoView method of a node, if the node is out of view, the tree does not scroll to show it...

any help much appreciated! thanks heaps.

Parents
No Data
Reply
  • 1923
    Verified Answer
    posted

    Figured it out...

    the following didn't work for me:

    node.scrollIntoView();

    however, this did:

    node.getElement().scrollIntoView()

Children
No Data