Hi,
I have a tree with many (more than 1000) nodes.
After finding a node to select I want it to be scrolled to the middle of the tree visible section (when possible...).
I am using scrollIntoView - but this only gets the node to the bottom section of the tree.
Is there a way to set the tree's scrollTop attribute so that the node will be in the middle of the visible tree?
Thanks, Nir.
I have a tree with many (more than 1000) nodes.
After finding a node to select I want it to be scrolled to the middle of the tree visible section (when possible...).
I am using scrollIntoView - but this only gets the node to the bottom section of the tree.
Is there a way to set the tree's scrollTop attribute so that the node will be in the middle of the visible tree?
Thanks, Nir.