title: jQuery dataTables - get filtered column values
body: <p>I am using a jQuery dataTable and when the user selects a drop down it searches the data table and filters it and redraws the contents based upon the searched data :</p>
  
  <pre><code>mtTable.columns().each(function() {
      mtTable.column(22).search(searchVal, true, true).draw();
  });
  </code></pre>
  
  <p>Now I am trying to get all of the column values after a search is done, however I cannot find a function to do this. Currently I am using from the api</p>
  
  <pre><code>var myTable = $("#tblResults").DataTable();
  var resultsArray = myTable.columns(colIndex).data();
  </code></pre>
  
  <p>According to the documentation this will return all of the data from within the column unfiltered.  I cannot find a function to give me an array of the column values for the filtered data only.  </p>