Two CellLists I've implemented have an starnge behaviour: they don't load 
more than 25 results. Debugging my code, I found ListDataProvider says it 
has 40 results (or more ...) but still only showing 25. The results are 
loaded, added to the list, but never seen.

I load 4 results in each AJAX call, so it does 8 successful insertions, and 
the 9th fails. Tested with 10 results, 2 success, the 3rd failed.

Tested in hosted mode and with compiled code.

    final RequestBuilder requestBuilder = new 
RequestBuilder(RequestBuilder.GET, URL_HERE);
    JSONResponseHandler handler = new JSONResponseHandler() {
      @Override
      protected void onComplete(boolean success, JSONValue data) {
        if(!success) return;
        
        // Process JSON here to extract data

       List<CommentData> providerList = dataProvider.getList();
       for(int i = 0; i < list.size(); i++) {
          // CommentData is a plain object that only stores data         
          providerList.add(new CommentData(id, body, sent, author, 
authorName));
        }
      }
    };

Any help would be appreciated

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/_Dy8f3_KpooJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to