Our product owner would like the our empty tables to display just table header when there is no data in table. I can\'t seem to prevent dataTable from creating a row with \"
try this
$('#InBox').dataTable({
"bFilter": false,
"bPaginate": false,
"bLengthChange": false,
"bInfo": false,
"oLanguage": {
"sEmptyTable": '',
"sInfoEmpty": ''
},
"sEmptyTable": "There are no records",
});
otherwise you can try this
$('#InBox').dataTable({
"bFilter": false,
"bPaginate": false,
"bLengthChange": false,
"bInfo": false,
"oLanguage": {
"sEmptyTable": '',
"sInfoEmpty": ''
}
});
$('.dataTables_empty').html("No record found.");