Server Side Processing : "bServerSide": true not working
Server Side Processing : "bServerSide": true not working
Vasantha
Posts: 2Questions: 0Answers: 0
Hi,
I am using server side processing for data tables and setting " "bServerSide": true " does not make request for "sAjaxSource".
Making " "bServerSide": false" just works fine. Any pointers in resolving this would be of great help.
[code]$(document).ready( function() {
var path = $("#basePath").val();
$('#ipDetails').dataTable( {
"bServerSide": true, // commenting this line works fine
"sAjaxSource": path+"/search?action=getReport&number=<%=number%>",
"bProcessing": true,
"sPaginationType": "full_numbers",
"bJQueryUI": true,
"aoColumns": [
{ "mDataProp": "type" },
{ "mDataProp": "number" },
{ "mDataProp": "name" },
{ "mDataProp": "sourceType" }
]
} );
} );
[/code]
Thanks & Regards,
Yong-Loh
I am using server side processing for data tables and setting " "bServerSide": true " does not make request for "sAjaxSource".
Making " "bServerSide": false" just works fine. Any pointers in resolving this would be of great help.
[code]$(document).ready( function() {
var path = $("#basePath").val();
$('#ipDetails').dataTable( {
"bServerSide": true, // commenting this line works fine
"sAjaxSource": path+"/search?action=getReport&number=<%=number%>",
"bProcessing": true,
"sPaginationType": "full_numbers",
"bJQueryUI": true,
"aoColumns": [
{ "mDataProp": "type" },
{ "mDataProp": "number" },
{ "mDataProp": "name" },
{ "mDataProp": "sourceType" }
]
} );
} );
[/code]
Thanks & Regards,
Yong-Loh
This discussion has been closed.
Replies
Please link to a test case.
Allan