Don't know if T5 grid can natively help here, but a common trick
is to request a few more records than what you're going to display...

That way, you can be sure that there are at least a few more pages, so
if you're showing 10 results per page, and you call the web service with
21 as 'max records' then (depending on the results returned)
you'll really know if you're on the last page, the previous to the last or
if there are more than 2 pages of results

On Thu, Jul 3, 2008 at 6:43 PM, Martijn Brinkers (List)
<[EMAIL PROTECTED]> wrote:
> I have a 'query' (not a database query but a webservice query) that
> possibly returns a huge number of 'records'. The query allows me to
> specify the start index and the max records to return so I can use this
> to only query the records shown in one grid page. The problem is that I
> do not know how many records in total will be returned. I can ask for
> all records to know the size but that kind of defies the paging
> optimization. So, what I would like is a grid that contains something
> like a "next xxx" results. Is that possible with the current T5 grid?
>
> Thanks,
>
> Martijn
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to