Hi Matthew,

you're right, this must be the way to do it.

At the moment, data from the server is pushed into the CellTable by calling 
AsyncDataProvider<eclipse-javadoc:%E2%98%82=Bavaria%20Chess%20System/%5C/opt%5C/eclipse%5C/plugins%5C/com.google.gwt.eclipse.sdkbundle_2.5.0.v201211121240-rel-r42%5C/gwt-2.5.0%5C/gwt-user.jar%3Ccom.google.gwt.view.client(AsyncDataProvider.class%E2%98%83AsyncDataProvider>
.updateRowData.
The problem is that I don't know exactly what it does. The docs only say 
"Inform 
the displays of the new data." But I have not seen the concept of these 
"displays" somewhere.

I also don't know exactly how to tell within the body of the data 
provider's onRangeChanged method which rows (indices) are the new ones.

In addition: What about the page size? When appending new rows the page 
size may be exceeded. What should we do in this case? Increase the starting 
position of the current page?
Remember, it's a chat. It would  be ok if the page size stays constant and 
the first row disappears when a new row is appended...

A code skeleton would be fine...

Magnus
 


Am Mittwoch, 21. November 2012 18:44:08 UTC+1 schrieb Matthew Dempsky:
>
> On Wed, Nov 21, 2012 at 8:37 AM, Magnus <[email protected]<javascript:>
> > wrote:
>
>> maybe it's not a good idea to "bypass" the AsyncDataProvider, as proposed 
>> above.
>>
>
> What about modifying your AsyncDataProvider to allow the client-side to 
> stuff new data in directly?
>

-- 
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/-/04GHQBJx0sQJ.
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