This is a migrated thread and some comments may be shown as answers.

Grid scroll events

1 Answer 201 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 31 May 2012, 08:48 PM
While the user is in the process of scrolling a grid, I need to prevent ajax polling else the user-experience is bad. I can't figure out how to get scroll events from a grid. My question is: to which DOM element under the grid should I bind the scroll event? I thought it would be the k-grid-content.

1 Answer, 1 is accepted

Sort by
0
Gary
Top achievements
Rank 1
answered on 31 May 2012, 09:33 PM
For virtual scrolling the DOM element is .k-virtual-scrollable-wrap but for some reason I need to go directly find the element and bind the event... using $grid.on('.k-virtual-scrollable-wrap', 'scroll', function(){}) wasn't working.

Tags
Grid
Asked by
Gary
Top achievements
Rank 1
Answers by
Gary
Top achievements
Rank 1
Share this question
or