AnsweredAssumed Answered

Dgrid, element.scrollIntoView causes whole page to scroll to grid

Question asked by dstoddard_salem on Jun 25, 2014
I have an javascript app consisting of a map and a dgrid embedded in a sharepoint page. When the user clicks on a map object it fires a javascript method that calls the grid.row(id).element.scrollIntoView method to scroll the grid to show the selected row. The issue is that when it does this the page jumps down to center on the grid. This behavior only happens in IE (IE 10). Is there any way to scroll the grid without scrolling the page to center on it?