0
         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());
//当我改变滚动的速度时,上述内容似乎总是发生变化。

}

请帮忙 。});

4

1 回答 1

0

我使用 LiveGrid 进行了这项工作,并对其进行了修改以支持可编辑的网格。

于 2011-11-23T11:24:49.677 回答