Jumping Rows

Is there a way to block a grid from moving the view when selecting the last row?

One of my grids is limited to a height of about 150px, but I have many rows. The grid shows a scroll bar as it should, but if I select one of the bottom few rows from whats viewable they jump to the top.

I am trying to use the double click event and this jumping action is causing the event to gram the wrong row.

Thanks!

Hello
If you are using “selectRow” or “selectRowById” method for selecting rows, just set “show” parameter to false

mygrid.selectRow(0,true,true,false); mygrid.selectRowById('row1',true,false,true);

I’m not using either function. I’m just selecting the row with my mouse.

You may disable the autoscroll with the following function:

mygrid.moveToVisible=function(){};

Perfect!!!