I guess that your FlexTable is inside of a ScrollPanel.
And each cell of the FlexTable has some other widget.
So what you need is to use
ScrollPanel void ensureVisible(UIObject item)
题
Is there any way we can scroll flextable to a specific selected row?
What I am trying to achieve is that I have two panes, LeftView
and RightView
. Based on selecting an item on the RightView
FlexTable
should scroll to that selected item in the LeftView
.
解决方案
I guess that your FlexTable is inside of a ScrollPanel.
And each cell of the FlexTable has some other widget.
So what you need is to use
ScrollPanel void ensureVisible(UIObject item)