### Scroll to Row

To get the current row of a treeview, use JavaObject.
More information:
http://docs.oracle.com/javafx/2/api/javafx/scene/control/TreeView.html
Example scolling to a Treeview Index
`Sub TreeView_ScrollTo(tv As TreeView, Idx As Int)
'Assign the treeview to the JavaObject
Private joTV As JavaObject = tv
'Check Index
If Idx < 0 Then Return
Try
'Scroll to
joTV.RunMethod("scrollTo", Array(Idx))
Catch
Log(LastException.Message)
End Try
End Sub`

Changed: , Category: TreeView, File: T6C272M2025.htm, ID: 2025