Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
415
After scrolling, how to determine if the last row in the grid is visible
posted

When the user scrolls down the grid (or pages down or arrows down), I need to detect when the last row becomes visible in the grid.  What scroll event can I trap and what can I test to find this condition?  Thanks.

Parents
No Data
Reply
  • 469350
    Offline posted

    Use the AfterRowRegionScroll event. You can check the VisibleRows collection of the ActiveRowScrollRegion - or the RowScrollRegion that is passed in to the event. I guess what you would do then is check the last visible row against the last actual row and see if they are the same. 

    Out of curiosity, why would you want this information? Seems like an odd thing to trap.

Children