Thank you for reporting this bug. We will make it our priority to review this report.
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:
myGridView.ensureVisible(rowIndex, 0, true);
It just makes the row visible, sometimes the row is on the bottom of the grid.
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.
Sencha Premium Member
I wrote some code to do this in ExtJS 4.x. I'm not sure if it will help you or not.
First use the following code
And then use it
<div class="span12 centered-text">
<h1>Bootstrap starter template</h1>
<p>Use this document as a way to quick start any new project.<br> All you get is this message and a barebones HTML document.</p>