Fail to Load in Server-Side Datatable Processing
Fail to Load in Server-Side Datatable Processing
dhayyati
Posts: 3Questions: 1Answers: 0
Hi.
I wanna use server-side processing datatables, so I followed the tutorial below
http://datatables.net/release-datatables/examples/data_sources/server_side.html
and initiated my table like this
$(document).ready(function() {
$('#tbldashboard').dataTable( {
"bProcessing": true,
"bServerSide": true,
"bDestroy": true,
"sAjaxSource": "dashboard_processing.php"
} );
} );
the problem is:
1. Once I use "bDestroy": true, css in my table, the table ruined and the search function doesn't work properly
2. If I don't use "bDestroy": true statement, the data won't appear in my table. The samething happens if I replace "bDestroy": true with "bRetrieve": true
Is there anyway so I can use server side processing that works? or please let me know where i went wrong
Thank you
I wanna use server-side processing datatables, so I followed the tutorial below
http://datatables.net/release-datatables/examples/data_sources/server_side.html
and initiated my table like this
$(document).ready(function() {
$('#tbldashboard').dataTable( {
"bProcessing": true,
"bServerSide": true,
"bDestroy": true,
"sAjaxSource": "dashboard_processing.php"
} );
} );
the problem is:
1. Once I use "bDestroy": true, css in my table, the table ruined and the search function doesn't work properly
2. If I don't use "bDestroy": true statement, the data won't appear in my table. The samething happens if I replace "bDestroy": true with "bRetrieve": true
Is there anyway so I can use server side processing that works? or please let me know where i went wrong
Thank you
This discussion has been closed.