I took the Google example and modified to:
google.load("visualization", "1", {packages:["table"]});
google.setOnLoadCallback(drawTable);
function drawTable() {
var data = new google.visualization.DataTable();
data.addColumn('string', 'Name');
data.addColumn('number', 'Salary');
data.addColumn('boolean', 'Full Time Employee');
data.addRows([
['Mike', {v: 10000, f: '$10,000'}, true],
['Jim', {v:8000, f: '$8,000'}, false],
['Alice', {v: 12500, f: '$12,500'}, true],
['Bob', {v: 7000, f: '$7,000'}, true],
['Mike2', {v: 10000, f: '$10,000'}, true],
['Jim2', {v:8000, f: '$8,000'}, false],
['Alice2', {v: 12500, f: '$12,500'}, true],
['Bob2', {v: 7000, f: '$7,000'}, true]
]);
var table = new
google.visualization.Table(document.getElementById('table_div'));
table.draw(data, {page:'enabled', pageSize:4, showRowNumber:true});
Paging controls are present at the bottom, but clicking on them does
nothing. No console errors either.
--
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.
For more options, visit https://groups.google.com/d/optout.