2010-11-26 33 views
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, nouveau Listener() {Dynamiquement ajouter des données en fin d'atteindre du Parchemin positon

 @Override 

handleEvent public void (GridEvent être) {

    //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()); // Ce qui précède semble toujours
// change au fur et à mesure que je change le rythme de mes parchemins.

}

S'il vous plaît aider. });

Répondre

0

Je l'ai obtenu en utilisant un LiveGrid et modifié le même pour prendre en charge une grille modifiable.