Hello Rahul,
Hope you're doing well.
By default, OnScrollEnding Event is not defined for Table widget.
However, you can implement this behavior using JavaScript:
document.getElementById("Element").addEventListener("scroll", function() {
var scrollTop = document.getElementById("Element").scrollTop;
var scrollHeight = document.getElementById("Element").scrollHeight;
var offsetHeight = document.getElementById("Element").offsetHeight;
if (offsetHeight + scrollTop >= scrollHeight)
{
//run handler
}
});
If you place this JavaScript on the OnReady event of your page, this should allow you to detect if you reached the end of your element.
Please refer to attached OML with this solution.
Hope that this helps you!
Kind regards,
Rui Barradas