-
24 Feb 2013 6:19 PM #1
How to force the selected row in the grid to scroll to the center
How to force the selected row in the grid to scroll to the center
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.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote