Grid in split mode - Scrollbar issue


#1

Hi,



In your grid in split mode example; Scroll the horizontal scroll bar right and select a row from left side pane. you will see the scrollbar jumps tp left side. it doesn’t stay there where you keep it before selecting the row. I am having this issue in my application.Is there any way I can stop the scrollbar movement when I select the row in the leftside pane?





dhtmlx.com/docs/products/doc … &type=smpl





Regards,

MB


#2

To stop scrollbar movement just add the next line to grid’s init
mygrid.moveToVisibleA = mygrid.moveToVisible;
mygrid.moveToVisible = function(cell){
return this.moveToVisibleA(cell, true) }


#3

this is happening for vertical scrollbar in our case. our version is 2.5 PRO edition.
what do you mean putting in grid init ??


#4

Issue is fixed in grid 3.5
For older version just add those lines during grid initialization (before mygrid.init call )

mygrid.moveToVisibleA = mygrid.moveToVisible; mygrid.moveToVisible = function(cell){ return this.moveToVisibleA(cell, true) }