For example:
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/index.htm#demos/jqxgrid/dataexport.htm
Try to scroll it up or down.
When you use a mouse wheel for that then you see sometimes the header’s bottom border becomes thicker. That is because of the upper row which wasn’t hidden completely.
The same is with keyboard keys or just clicking the scrollbar’s up/down buttons.
Can you adjust the scrolling, so when you scroll up, then the previous row (n-1) will be fully visible but not the row before it (n-2). And when you scroll down, then the next row (n+1) will be fully visible, but not the row after it (n+2)?