jquery datatables pagination "show entries" not working
I am new to jquery datatables. I had a simple function which calls ajax and maps the response into datatables. That is working, but the pagination is not working properly. Any suggestion would be great. Here is my code: function loadJson() { $('#datatable') .dataTable( { "bProcessing" : true, "bPaginate" : true, "bServerSide" : true, "sServerMethod" : "GET", "sAjaxSource" : "${pageContext.request.contextPath}/emi/calculate?jsonValue=" + jsonData, "sAjaxDataProp" : "", "fnRowCallback" : function(nRow, aData, iDisplayIndex) { $("td:first", nRow).html(iDisplayIndex + 1); return nRow; }, "aoColumn
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.