I want to make the row in the center of gird. I try code like this:
orCode:myGridView.ensureVisible(rowIndex, 0, true);
It just makes the row visible, sometimes the row is on the bottom of the grid.Code:myGridView.focusRow(rowIndex);
Is there any method to make the row in the center of the gird.
I know that ,we should call scroller.setScrollTop() function, but I don't know the value to set.