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

06-25-2014 01:04 PM
New Contributor
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?
0 Kudos
0 Replies