HTML_Area detect scrolling

Hi,

In my web-client I have a html_area, which i populate with table data like this:

<html>
  <body>
    <table>
         rowsdata .....
    </table>
  </body>
</html>

Cause there is a lot of data, a scrollbar appears. Now when the user scrolls I want to be able to detect that. (When he reached the end I need to do something)
Is there any way to do this? (detect the scroll event of the html_area??)

Thanks.

Solved the problem.

Looked up the id that servoy gave to the div, and used this to add an onscroll event to the div.

Janssenjos:
Looked up the id that servoy gave to the div, and used this to add an onscroll event to the div.

This will probably be the UUID of the element.
So be careful: if - for whatever reason - you delete the existing element and add a new element, your code will break…