hide info in datatable code example
Example 1: datatables hide showing entries
// pre v1.10
$('#example').dataTable({
bInfo : false
});
// v1.10+
$('#example').DataTable({
info : false
});
Example 2: hide datatable columns using datatable predifine function
$(document).ready(function() {
$('#example').DataTable( {
"columnDefs": [
{
"targets": [ 2 ],
"visible": false,
"searchable": false
},
{
"targets": [ 3 ],
"visible": false
}
]
} );
} );