Put the record count at the top of the table instead of the bottom

    <script>
         $(document).ready(function() {

$('#example').DataTable( {
/*  "aoColumnDefs": [
      { 'bSortable': false, 'aTargets': [ 0 ] }
   ]*/
   "columnDefs": [
    {"orderable": true, "targets": [1] },
    {'searchable' : true, 'targets' : [1] 
},
],
"dom": '<"wrapper"flipt>', //total on top of datatable jquery
});

});
$(document).ready(function(){
 //Date range picker
  $('#reservation').daterangepicker()
});
    </script>



Leave a Reply