Answers for "datatable hide no data available in table"

0

datatables hide showing entries

// pre v1.10
   $('#example').dataTable({
       bInfo : false
   });
   
   // v1.10+
   $('#example').DataTable({
       info : false
   });
Posted by: Guest on February-10-2021
0

datatable hide no data available in table

var someTableDT = $("#some-table").on("draw.dt", function () {
    $(this).find(".dataTables_empty").parents('tbody').empty();
}).DataTable(/*init object*/);
Posted by: Guest on January-20-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language