Re: CellTable with SimplePager displaying GAE datastore data in async

2011-07-08 Thread Ioan Agopian
What framework are you using to connect to the datastore? I've not used JDO or JPA, but in Objectify you can set an offset and a limit on a query. In onRangeChanged you can get them like this: Range range = display.getVisibleRange(); Integer offset = range.getStart(); Integer limit =

Re: CellTable with SimplePager displaying GAE datastore data in async

2011-07-08 Thread George Agiasoglou
Hi Ioan, thank you for your reply. Indeed I use objectify and to be honest I have not used the offset ever, however, when I was looking what's the best feature to use I stamped upon this thread https://groups.google.com/d/topic/objectify-appengine/tkC103e2ILQ/discussion and so I have only

Re: CellTable with SimplePager displaying GAE datastore data in async

2011-07-08 Thread George Agiasoglou
Ioan it works fine, thank you! -George -- 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/-/UtFKujFHj4kJ. To post to this group, send email to

CellTable with SimplePager displaying GAE datastore data in async

2011-07-07 Thread George Agiasoglou
Hi there, I have a celltable which displays data from GAE datastore using an AsyncDataProvider. Everything works fine up to the last page. So if pageSize is 10 and the results are 35, doing 1-10, 11-20, 21-30 and back works fine. In order to do this I store cursors so that I can continue