How can scroll to a specif node?
If I have 100 nodes(list-item) in tree-view and currently displaying from 41 to 50 nodes in viewport then I want to scroll direct 5th number node, How can do it?
I have tried to scroll to a node using scrollIntoView() but, it's not working.
Ex, someNode.scrollIntoView();
or
this.treeViewComponent.tree.treeModel.getNodeById(key).scrollIntoView(true); //TreeModel class
How can scroll to a specif node? If I have 100 nodes(list-item) in tree-view and currently displaying from 41 to 50 nodes in viewport then I want to scroll direct 5th number node, How can do it?
I have tried to scroll to a node using scrollIntoView() but, it's not working. Ex, someNode.scrollIntoView(); or this.treeViewComponent.tree.treeModel.getNodeById(key).scrollIntoView(true); //TreeModel class