To limit the number of records fetched, I plan to add more records when we reach the end of the data in an EditorTreeGrid . I have tried the following code
myTree.addListener(Events.BodyScroll,new Listener(){
@Override
public void handleEvent(GridEvent be){
//I need to check if the scroll has reached the end to the list and
then add more records to the store .
EditorTreeGrid component = be.getComponent(); 的System.out.println(be.getScrollTop()); //以上似乎总是如此 //随着我改变卷轴的速度而改变。
}
请帮忙。 });
答案 0 :(得分:0)
我使用LiveGrid进行了此操作并对其进行了修改以支持可编辑的网格。