javascript - Scrolling bar on IE using devexpress -
i use devexpress gridview vertical scroll bar, when user focus on record of gridview , press down arrow focuse move next record scroll bar dosen't move write code in javascript make scroll bar moving , record focused still visible me works on firefox , chrome doesn't work on ie 11 there way deal scroll bar in gridview in ie
document.onkeydown=function(e){ e=(e || event) if(e.keycode == 40){ var ix = grid.getfocusedrowindex(); var v= grid.getvisiblerowonpage(); if(((ix%2==0) || (ix%3==0)) && (ix!=2)){ return true; } e.preventdefault(); return false; } }
you may need use dx aspxgridview js scroll helpers like:
aspxclientgridview.setverticalscrollposition - set vertical scroll position aspxclientgridview.getverticalscrollposition - vertical scroll position
these methods should ie11 compatible since included in official release.
see more details in following post:
https://www.devexpress.com/support/center/question/details/q523412
hth
Comments
Post a Comment