PDA

View Full Version : Detect when the scroll thumb hits near bottom in Grid?



Kango_V
3 Sep 2008, 2:43 PM
I'm trying to create the equivelent of the ExtJS LiveGrid in GXT. It will have a buffer twice the size as the number of visible rows.

But, i need a few things first and i cannot see how to get them.

1. How do i know when the scroll thumb is nearing/meets the bottom?
2. How can a calculate the number of rows currently visible in the grid?
3. In the GridEvent there is scrollTop? What use is this and why is it there?

Many thanks

Kango_V
4 Sep 2008, 1:17 AM
Anyone know how to do this?