Edit in JSFiddle

$(document).ready(function (){
    var table = $('#example').DataTable({
        'ajax': 'https://api.myjson.com/bins/qgcu',
        'dom': 'Rlfrtip',
        'colReorder': {
            'allowReorder': false
        }
    });
});
<h3><a target="_blank" href="https://www.gyrocode.com/articles/jquery-datatables-column-reordering-and-resizing/">jQuery DataTables: Column reordering and resizing</a> <small>Allow resizing only</small></h3>

<table id="example" class="display" cellspacing="0" width="100%">
   <thead>
      <tr>
         <th>Name</th>
         <th>Position</th>
         <th>Office</th>
         <th>Extn</th>
         <th>Start date</th>
         <th>Salary</th>
      </tr>
   </thead>
   <tfoot>
      <tr>
         <th>Name</th>
         <th>Position</th>
         <th>Office</th>
         <th>Age</th>
         <th>Start date</th>
         <th>Salary</th>
      </tr>
   </tfoot>
</table>

              

External resources loaded into this fiddle: