title: Datatables TableTools multiple tables on the same page
body: <p>I am having problems with multiple instances of DataTables and TableTools on the same page.
  The DataTables are working fine, but when using TableTools only the first table is working fully with the buttons.</p>
  
  <p>All buttons are appearing fine on all tables but when you click a button it does nothing. (apart from 'Print' button works on all 4 tables).</p>
  
  <p>Does anybody have any ideas why this is happening? I have been searching for a solution but not found any.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt; 
  jQuery( function( $ ) {
  
  // Implements the dataTables plugin on the HTML table
      var $acTable= $("#academic_table").dataTable( {
          "oLanguage": {
              "sSearch": "Filter:"
          },
          "oTableTools": {
              "sSwfPath": "swf/copy_csv_xls_pdf.swf",
              "aButtons": [
                  "copy",
                  "xls",
                  "csv",
                  "pdf",
                  "print"
              ]
          },
          "bProcessing": true,
          "bServerSide": true,
          "sAjaxSource": "scripts/academic_serverside.php",
          "iDisplayLength": 10,       
          "bJQueryUI": false,
          "sPaginationType": "scrolling",
          "sDom": '&lt;"clear"&gt;&lt;"top"CTilr&lt;"clear"&gt;pt&gt;',
          "aoColumns": [ 
              {"bVisible":false},
              {"bVisible":true},
              {"bVisible":true},
              {"bVisible":true},
              {"bVisible":true},
              {"bVisible":true},
              {"bVisible":false}
          ],
          "fnRowCallback": function( nRow, aData, iDisplayIndex ) {
          $('td:eq(4)', nRow).html(''+ aData[5] +'&amp;nbsp;'+ aData[6] +'');
          },
          "oColVis": {
              "activate": "mouseover",    
              "aiExclude": [0,6]
          }
          }).columnFilter({   
              aoColumns: [ 
                      { type: "select"},
                      { type: "text"},
                      { type: "select"},
                      { type: "select"},
                      { type: "select"},
                      { type: "text"},
                      { type: "text"}
                  ]
          }); 
  
  
  
      // Implements the dataTables plugin on the HTML table
      var $buTable= $("#business_table").dataTable( {
          "oLanguage": {
              "sSearch": "Filter:"
          },
          "oTableTools": {
              "sSwfPath": "swf/copy_csv_xls_pdf.swf",
              "aButtons": [
                  "copy",
                  "xls",
                  "csv",
                  "pdf",
                  "print"
              ]
          },
          "bProcessing": true,
          "bServerSide": true,
          "sAjaxSource": "scripts/business_serverside.php",
          "iDisplayLength": 10,       
          "bJQueryUI": false,
          "sPaginationType": "scrolling",
          "sDom": '&lt;"clear"&gt;&lt;"top"CTilr&lt;"clear"&gt;pt&gt;',
          "aoColumns": [ 
              {"bVisible":false},
              {"bVisible":true},
              {"bVisible":true},
              {"bVisible":true},
              {"bVisible":true},
              {"bVisible":true},
              {"bVisible":true},
              {"bVisible":true},
              {"bVisible":false}
          ],
          "fnRowCallback": function( nRow, aData, iDisplayIndex ) {
          $('td:eq(6)', nRow).html(''+ aData[7] +'&amp;nbsp;'+ aData[8] +'');        
          },
          "oColVis": {
              "activate": "mouseover",    
              "aiExclude": [0,8]
          }
          }).columnFilter({   
              aoColumns: [ 
                      { type: "select"},
                      { type: "text" },
                      { type: "select" },
                      { type: "select"},
                      { type: "text"},
                      { type: "text"},
                      { type: "select"},
                      { type: "text"}
                  ]
          }); 
  
  
  
      // Implements the dataTables plugin on the HTML table
      var $lmTable= $("#line_managers_table").dataTable( {
          "oLanguage": {
              "sSearch": "Filter:"
          },
          "oTableTools": {
              "sSwfPath": "swf/copy_csv_xls_pdf.swf",
              "aButtons": [
                  {
                      "sExtends": "print"
                  }
              ]       },
          "bProcessing": true,
          "bServerSide": true,
          "sAjaxSource": "scripts/line_managers_serverside.php",
          "iDisplayLength": 10,       
          "bJQueryUI": false,
          "sPaginationType": "scrolling",
          "sDom": '&lt;"clear"&gt;&lt;"top"Tfilr&lt;"clear"&gt;pt&gt;'
          }); 
  
  
      // Implements the dataTables plugin on the HTML table
      var $dTable= $("#divisions_table").dataTable( {
          "oLanguage": {
              "sSearch": "Filter:"
          },
          "oTableTools": {
              "sSwfPath": "swf/copy_csv_xls_pdf.swf",
              "aButtons": [
                  {
                      "sExtends": "print"
                  }
              ]       },
          "bProcessing": true,
          "bServerSide": true,
          "sAjaxSource": "scripts/divisions_serverside.php",
          "iDisplayLength": 20,       
          "bJQueryUI": false,
          "sPaginationType": "scrolling",
          "sDom": '&lt;"clear"&gt;&lt;"top"Tfilr&lt;"clear"&gt;pt&gt;'
          }); 
  
  });
  &lt;/script&gt;
  </code></pre>