not display "empty table "
not display "empty table "
prasanna1311995
Posts: 6Questions: 3Answers: 0
if table is empty not showing the "empty data in table",any clue my script code below please refer this!
var dataSet3=<?php echo json_encode($dispatch); ?>;
$(document).ready(function() {
$('#dispatch').DataTable( {
searching: false,
paging:false,
"bInfo" : false,
data: dataSet3,
columns: [
{ data: "fk_dispatch_id" ,"visible": false},
{ data: "fk_subscriber_id" ,"visible": false },
{ data: "created_dt" },
{ data: "updated_dt" ,"visible": false},
{ data: "dispatch_id" },
{ data: "dispatch_dt" },
{ data: "fk_publisher_id","visible": false },
{ data: "name_txt" },
{ data: "notes_txt" },
{ data: "created_dt" ,"visible": false },
{ data: "updated_dt" ,"visible": false}
],
} );
} );
This discussion has been closed.