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 google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
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.
For more options, visit https://groups.google.com/d/optout.
--
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 google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
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/b0aafd6a-bff0-4701-a2e1-c4e4f813e6a2%40googlegroups.com.
@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.