Hmm, that doesn't seem to work in my case. The code isn't in front of me but
I have a custom data class overriding getdata, and my table uses ajax to
page so perhaps that is causing the issue somewhere.

Damian.
On Oct 11, 2011 12:38 AM, "Bob Schellink" <[email protected]> wrote:

> Hi Damien,
>
> Setting the page number should do the trick.
>
> Here is a snippet:
>
> public TablePaging() {
>  Table table = new Table("table");
>  addControl(table);
>  table.setPageSize(10);
>  table.setPageNumber(2);
> }
>
> Hope this helps.
>
> regards
>
> Bob
>
> On 2011/10/11 07:30 AM, Damian Penney wrote:
>
>> What is the most efficient way to have a table with a paginator
>> initially render the last page of data?
>>
>> I'm trying to call setPageNumber(table.**getNumPages()) but the rowlist
>> is already created before I can sneak in. Tried overriding the init
>> method of the table but still no dice.
>>
>> Any pointers appreciated.
>>
>> Thanks, Damian
>>
>>
>

Reply via email to