Spry

Use an internal table

You can use a table that resides on your Spry page (as opposed to using a table in an external file as your data source).

 To specify an internal table, set the path to the page to null in the constructor, as follows:
<script type="text/javascript”>
 var ds1 = new Spry.Data.HTMLDataSet(null, "productsTable");
</script>

By default, when you use an internal table, Spry hides the source table when the page loads in a browser. You can show the source table by setting the hideDataSourceElement option to false in the constructor, as follows:

<script type="text/javascript">
 var ds1 = new Spry.Data.HTMLDataSet(null, "productsTable",{hideDataSourceElement:false});
</script>