Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by MB on Jul 15, 2009 14:13
open dhtmlx forum
Grid in split mode - Scrollbar issue

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?


http://www.dhtmlx.com/docs/products/docsExplorer/index.shtml?node=dhtmlxgrid&type=smpl


Regards,
MB
Answer posted by dhxSupport on Jul 16, 2009 02:47
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) }