[ { "id": "1", "name": "Tom", "age": "15", "comment": "" }, { "id": "2", "name": "Alex", "age": "24", "comment": "" } ]
[ { "id": "1", "name": "Tom", "age": "15", "comment": "" }, { "id": "2", "name": "Alex", "age": "24", "comment": "" } ]
代码样例
<!-- More details here: https://docs.sheetdb.io/handlebars -->
<table>
<thead>
<tr>
<td>ID</td>
<td>Name</td>
<td>Age</td>
<td>Comment</td>
</tr>
</thead>
<tbody data-sheetdb-url="https://chongyacode.com/api/v1/58f61be4dda40"
data-sheetdb-sort-by="age"
data-sheetdb-sort-order="desc">
<tr>
<td>{{id}}</td>
<td>{{name}}</td>
<td>{{age}}</td>
<td>{{comment}}</td>
</tr>
</tbody>
</table>
<script src="https://chongyacode.com/handlebars.js"></script>