title: How to tell DataTables where to insert the buttons export
body: <p>I wanna archive something like this with <a href="https://www.datatables.net/" rel="nofollow noreferrer">datatables</a>
  <a href="https://i.stack.imgur.com/8NplY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8NplY.png" alt="enter image description here"></a></p>
  
  <p>But I can't find a way how to tell datatable where to insert button copy, excel,PDF etc. Default insert button datatable will replace <code>sorting entries</code> like this</p>
  
  <p><a href="https://i.stack.imgur.com/kG1xC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kG1xC.png" alt="enter image description here"></a></p>
  
  <p>This is my code</p>
  
  <pre><code>&lt;div class="box-header"&gt;
      &lt;div class="buttonContainer"&gt;&lt;/div&gt;
      &lt;div class="pull-right"&gt;
         &lt;button class="btn btn-primary form-button" id="addNew"&gt;Tambah Produk&lt;/button&gt;
      &lt;/div&gt; 
  &lt;/div&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>var dTable;
      dTable = $('#dataTable').DataTable({
        "bProcessing": true,
        "bAutoWidth": false,
        "responsive": true,
        "buttons": [ 'copy', 'excel','csv','pdf'],
      });
  </code></pre>
  
  <p>I wanna insert <code>datatable buttons</code> in <code>buttonContainer</code><br></p>
  
  <p>I found a reference how to do that in here <a href="http://datatables.net/examples/basic_init/dom.html" rel="nofollow noreferrer">dom datatable</a><br></p>
  
  <p>but not quite understand how to implement it in my case<br></p>
  
  <p>Please help </p>