Sheetrock 1.0 Example 1
by chriszarate
HTML
<script src="https://code.jquery.com/jquery-3.6.0.slim.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<script src="https://chriszarate.github.io/sheetrock/dist/sheetrock.min.js"></script>
<table id="statistics" class="table table-condensed table-striped"></table>
JavaScript
// Sheetrock.js 1.0 Example 1
// https://chriszarate.github.io/sheetrock/
// The most basic use case of Sheetrock simply fetches the an
// entire worksheet and loads it into a <table>.
// Define spreadsheet URL.
var mySpreadsheet = 'https://docs.google.com/spreadsheets/d/1qT1LyvoAcb0HTsi2rHBltBVpUBumAUzT__rhMvrz5Rk/edit#gid=0';
// Load an entire worksheet.
$('#statistics').sheetrock({
url: mySpreadsheet
});