24 Feb 2013 6:19 PM #1
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);
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.
22 Aug 2014 7:10 AM #2
15 Sep 2014 2:02 AM #3
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>