can we pass parameter in server side pagination in ajax call
can we pass parameter in server side pagination in ajax call
$(document).ready(function() {
var oTable = $('#example').dataTable({
"bJQueryUI": true,
"bAutoWidth": true,
"sScrollY": "700px",
"bStateSave": true,
"iDisplayLength": 50,
"oLanguage": {
"sLengthMenu": 'Display '+
'50'+
'100'+
'200'+
' records'
},
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"sSwfPath": "/EF/common/js/TableTools-2.0.3/TableTools-2.0.3/media/swf/copy_csv_xls_pdf.swf"
},
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "/EF/reports/test/form/frmReportPendingMscitShareDtlsJson.jsp",
"aoColumns": [
{ "mDataProp": "BatchName" },
{ "mDataProp": "Course" },
{ "mDataProp": "Role" },
{ "mDataProp": "Mode" },
{ "mDataProp": "Installment" },
{ "mDataProp": "NoofCenters" },
{ "mDataProp": "Totalshare" }
]
} );
} );\
this is the code in which i want to p[ass one int and one string parameter /EF/reports/test/form/frmReportPendingMscitShareDtlsJson.jsp
on this page . How can I do that?
var oTable = $('#example').dataTable({
"bJQueryUI": true,
"bAutoWidth": true,
"sScrollY": "700px",
"bStateSave": true,
"iDisplayLength": 50,
"oLanguage": {
"sLengthMenu": 'Display '+
'50'+
'100'+
'200'+
' records'
},
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"sSwfPath": "/EF/common/js/TableTools-2.0.3/TableTools-2.0.3/media/swf/copy_csv_xls_pdf.swf"
},
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "/EF/reports/test/form/frmReportPendingMscitShareDtlsJson.jsp",
"aoColumns": [
{ "mDataProp": "BatchName" },
{ "mDataProp": "Course" },
{ "mDataProp": "Role" },
{ "mDataProp": "Mode" },
{ "mDataProp": "Installment" },
{ "mDataProp": "NoofCenters" },
{ "mDataProp": "Totalshare" }
]
} );
} );\
this is the code in which i want to p[ass one int and one string parameter /EF/reports/test/form/frmReportPendingMscitShareDtlsJson.jsp
on this page . How can I do that?
This discussion has been closed.
Replies
Allan