Closed mminer closed 9 years ago
Oops, looks like I broke a unit test. I'll get this fixed.
Let's rename vScrollDist
to scrollTopDelta
and hScrollDist
to scrollLeftDelta
. I've updated the docs accordingly: http://dobyjs.com/#grid-events-scroll
There's no mechanism to fetch more columns, so it makes little sense to trigger remote fetches when horizontally scrolling. To prevent this I changed the
viewportchanged
event to include the vertical and horizontal scroll distance. Only when the vertical scroll distance is greater than zero do we callremoteFetch
. This should fix #122.