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
公共无效句柄事件(GridEvent是){
//I need to check if the scroll has reached the end to the list and
then add more records to the store .
EditorTreeGrid 组件 = be.getComponent(); System.out.println(be.getScrollTop());
//当我改变滚动的速度时,上述内容似乎总是发生变化。
}
请帮忙 。});