title: DataTables warning: table id=escritorios - Cannot reinitialise DataTable. For more information about this error, please see http://datatables.net/tn/3
body: <p>I have these two codes and one cancels the other. I need help getting the two together. Thanks</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;script type="text/javascript" class="init"&gt;
    $(document).ready(function() {
      var table = $('#escritorios').DataTable({
        lengthChange: false,
        buttons: ['colvis', 'print', 'copy', 'excel', 'pdf']
      });
  
      table.buttons().container().appendTo('#example_wrapper .col-md-6:eq(0)');
    });
  &lt;/script&gt;
  
  &lt;script type="text/javascript"&gt;
    $(document).ready(function() {
      $('#escritorios').DataTable({
        responsive: {
          details: {
            type: 'column',
            target: 'tr'
          }
        },
        columnDefs: [{
          className: 'control',
          orderable: false,
          targets: 0
        }],
        order: [1, 'asc']
      });
    });
  &lt;/script&gt;
  </code></pre>