According the docs, you only need to give your HTML table an id or a “selector (a class attribute), say:
1
<span class="elements"><table</span><span class="attributes">class=</span><span class="codestring">"mytable"</span>>(or<span class="elements"><table</span><span class="attributes">id=</span><span class="codestring">"mytable"</span>>)<br/><br/>Ithink you have towrite:<br/><br/>$(document).ready(function(){<br/>tableToGrid("#mytable");<br/>});<br/><br/>HTH<br/><br/>