@daleg, check out the pagingButtons option:
https://developers.google.com/chart/interactive/docs/gallery/table  You'll
have to compute the number of pages you'll need if you want the page number
controls, or you can just display the next and prev page buttons.

On Fri, Oct 30, 2015 at 1:17 PM, <[email protected]> wrote:

> If I initialize a table like this:
>
>     google.load("visualization", "1.1", {packages:["table"]});
>     google.setOnLoadCallback(drawTable);
>     table.draw(data, {showRowNumber: true, width: '100%', height: '100%',
>                page: 'enable', pageSize: '25', allowHtml: true});
>
> How can I make it work with server-side paging? I mean, if I set pageSize
> to 25, and then I only give it 25 records, it's only going to show that I
> have one page, and I'm not going to get any active paging controls. How can
> I tell it that I have 1500 records, say, when I'm only giving it 25 records
> at a time?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to
> [email protected].
> Visit this group at
> http://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/02df0f98-5066-4b2c-b322-53800fd09af0%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/02df0f98-5066-4b2c-b322-53800fd09af0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>  -
978-394-1058
[email protected] <[email protected]>   5CC, Cambridge MA
[email protected] <[email protected]> 9 Juniper Ridge
Road, Acton MA

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJMaUUvOr7Wwb6MFt88D3o3LTJxpj2wB5B0iV2fSzQQ9DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to