DataTable propertiees are not working proerly
DataTable propertiees are not working proerly
Hi all , i am new to Jquery DataTable , i have a few problem , my search , short and pagination pare not working, here is my code, thanks
`$('#datatable')
.DataTable(
{
"bPaginate" : true,
"bProcessing" : true,
"bServerSide" : true,
"bScrollCollapse" : true,
"iDisplayLength" : 10,
"aaSorting" : [],
"sServerMethod" : "GET",
"sAjaxSource" : "${pageContext.request.contextPath}/emi/calculate?jsonValue="
+ jsonData,
"sAjaxDataProp" : "",
"fnRowCallback" : function(nRow, aData,
iDisplayIndex) {
$("td:first", nRow).html(iDisplayIndex + 1);
return nRow;
},
"aoColumns" : [ {
"mData" : null
}, {
"mData" : "emiDate"
}, {
"mData" : "principle"
}, {
"mData" : "interestAmount"
}, {
"mData" : "emi"
}, {
"mData" : "loanOutstanding"
} ]
});
`
Answers
Have you fully implemented server-side processing in your server-side script?
Do you actually need server-side processing? See the manual for more information.
Allan
New to this , i have java ee backend , any code , link would be great here
The links are in my post above. I don't publish code for an example EE backend I'm afraid (as its not a platform I'm particularly familiar with).
Allan