Table1 Builder

Table 1

[[HTML]]
<html>
<head>
<STYLE>
<!--
A{text-decoration:none}
-->
</STYLE>
<script type='text/javascript' src='https://www.google.com/jsapi'></script>
<script type='text/javascript'>
google.load('visualization', '1', {packages:['table']});
google.setOnLoadCallback(drawTable);
function drawTable() {
var data = new google.visualization.DataTable();
data.addColumn('string', 'ID');
data.addColumn('string', 'Name');
data.addColumn('number', 'Score');
data.addColumn('string', 'Location');
data.addRows(10);
data.setCell(0, 0, '<a href="http://opentables.wikidot.com/t1:000000">0</a>');
data.setCell(0, 1, '<a href="http://www.lgam.info/bundaberg-regional-council">Bundaberg</a>');
data.setCell(0, 2, 999);
data.setCell(0, 3, '<a href="http://www.lgam.info/queensland">Queensland</a>');
data.setCell(1, 0, '<a href="http://opentables.wikidot.com/t1:000001">1</a>');
data.setCell(1, 1, '<a href="http://www.lgam.info/north-burnett-regional-council">North Burnett Regional Council</a>');
data.setCell(1, 2, 999);
data.setCell(1, 3, '<a href="http://www.lgam.info/queensland">Queensland</a>');
var table = new google.visualization.Table(document.getElementById('table_div'));
table.draw(data, {allowHtml: true});
}
</script>
</head>
<body>
<div id='table_div'></div>
</body>
</html>
[[/HTML]]

Related Pages

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License