title: Adjust (column size of) all visible dataTables
body: <p>I'm trying to create a generic JS method that will adjust (<code>fnAdjustColumnSizing()</code>) all visible dataTables. Problem is that I just can't get the syntax quite right...</p>
  
  <p>So far, i got this close:</p>
  
  <pre><code>$.fn.dataTable.fnTables(true); //this gets all visible dataTables...
  $('#givenTable').dataTable().fnAdjustColumnSizing(); //this  adjusts a given dataTable
  
  $.each($.fn.dataTable.fnTables(true), function(singleTable) {
      $(singleTable).dataTable().fnAdjustColumnSizing();
  });  // And this just don't work! Don't know why...
  </code></pre>
  
  <p>Any ideas or suggestions on an alternative way to acomplish this?</p>
  
  <p><strong>EDIT</strong>: I marked the answer below as the correct answer but i did found what was wrong on my original approach (and will include it as it may be usefull to others): It is the syntax of the <code>$.each</code>'s provided function, which should receive 2 parameters, being the first one the index and the second the element itself. So:</p>
  
  <pre><code>$.each($.fn.dataTable.fnTables(true), function(idx, singleTable) {
      $(singleTable).dataTable().fnAdjustColumnSizing();
  });  // This works!
  </code></pre>