Calling a function on a table of async populted data in Meteor <p>I am using Meteor and the jquery data table library. I have a table that I am loading meteor/handlebars using something like this:</p> <pre><code>&lt;table&gt; {{each x}} // code to insert rows of data {{/each}} &lt;/table&gt; </code></pre> <p>I need to call this on the table once it has been fully populated with data to turn it into a sortable table:</p> <pre><code>$('#tableID').dataTable(); </code></pre> <p>It works when I call it from the console once the DOM is fully loaded and the data is in there, but using Template.rendered() doesn't work, nor does listening for changes with .observe since the data is loaded before that particular view is rendered.</p> <p>Where can I run this code to ensure that the data is fully loaded, and if there are updates to the data in the table that it will run again?</p>