title: Datatables get filtered data not working and copy to second table
body: <p>I need to get filtered data from one table to copy to another table. Both are using data tables. but when i tried to use the </p>
  
  <pre><code> oriTable._('tr', {filter:'applied'});
  </code></pre>
  
  <p>i got the Uncaught TypeError: undefined is not a function in the console.
  I am using datatables 1.10.1. Im dont know why is this happening. I initialize the datatables like this. before the line to get the filtered data.</p>
  
  <pre><code>    var oriTable = $('#originalList').DataTable({
          "columnDefs": [
          {
              "targets": [4,5],
              "visible": false,
              "searchable": true
          },
          { "orderable": false, "targets": 0 }
          ]
      });
  </code></pre>
  
  <p>i tried using this one </p>
  
  <pre><code>var rows = oriTable.$('tr', {"filter":"applied"});
  </code></pre>
  
  <p>but when i use append to append to the second table like this</p>
  
  <pre><code>            $("#selectedList").find("tbody").html('');
              $("#selectedList").find("tbody").append(rows);
              selTable = $('#selectedList').DataTable({
                  "columnDefs": [
                  {
                      "targets": [4,5],
                      "visible": false,
                      "searchable": true
                  },
                  { "orderable": false, "targets": 0 }]
               });
  </code></pre>
  
  <p>i will get </p>
  
  <p><img src="https://i.stack.imgur.com/3Uitl.png" alt="enter image description here"></p>
  
  <p>then i tried to use like this</p>
  
  <pre><code>            $("#selectedList").find("tbody").html('');
              $("#selectedList").find("tbody").append(rows);
  
              selTable
                  .order( [ 1, 'asc' ] )
                  .draw(false);
  </code></pre>
  
  <p>but this one the selTable did not show the rows.
  this is how the selTable initialize.</p>
  
  <pre><code>    var selTable = $('#selectedList').DataTable({
          "columnDefs": [
          {
              "targets": [4,5],
              "visible": false,
              "searchable": true
          },
          { "orderable": false, "targets": 0 }]
      });
  </code></pre>
  
  <p>Please help me. Thanks.</p>