datatable.fnDraw() is not a function
<p>I have a datatable which is being populated and displayed as I wish. There is a date column that I could like to apply a date range filter to. There are two controls on my HTML page that I have given id's to and added the datepicker jquery to . I've looked at the code example given here <a href="https://datatables.net/plug-ins/filtering/row-based/range_dates" rel="noreferrer">https://datatables.net/plug-ins/filtering/row-based/range_dates</a> but when I run the code a and change the date on the control I see an error that <code>oTable.draw()</code> is not a function.</p>

<p>I'm using datatables 1.10.11 and I've set my table up using the following code</p>

<pre><code>var statementTable = $('#statementTable').DataTable({....});
</code></pre>

<p>The on change event is being trigger with this line</p>

<pre><code>$('#startdatepicker').change(function () { statementTable.fnDraw(); });
</code></pre>

<p>When this line executes I see the error in the console:</p>

<blockquote>
  <p>statementTable.fnDraw() is not a function.</p>
</blockquote>

<p>Can anyone offer any pointers please?
Thanks
Richard</p>