"Next" button is disabled
"Next" button is disabled
Adelphia
Posts: 3Questions: 1Answers: 0
I'm doing server-side processing and my sort, search, etc functions work, but the "Next" button is disabled. My AJAX is returning a JSON object with all of the required parameters, so what gives?
- Here's an MCVE - https://plnkr.co/edit/7Cx9Qi1V3clxVOuycfeo
- Here's my Debugger - https://debug.datatables.net/uloyof
Quick synopsis..
$("table").DataTable({
processing: true,
serverSide: true,
ajax: (ajaxdata, callback, settings)=>{
$.ajax({
url: 'data.json',
data: ajaxdata
}).done(callback);
}
});
My server response is something like this...
{
"draw": 1,
"recordsTotal": 170523,
"recordsFiltered": 10,
"data": [
[
"ConquestGraphics",
"EDDM Widget",
"1490618613",
"http://localhost/_home/idescripts/1490618603.php",
"192.168.0.127"
],
[
"ConquestGraphics",
"EDDM Widget",
"1490618630",
"http://localhost/_home/idescripts/1490618603.php",
"192.168.0.127"
],
[
"ConquestGraphics",
"EDDM Widget",
"1490618747",
"http://localhost/_home/idescripts/1490618603.php",
"192.168.0.127"
]
]
}
This discussion has been closed.
Answers
Nevermind.. i didn't realize the filtered count was suppsed to be the... filtered.. count.. i thought it was supposed to be the count of the returned rows... fixed that and it works now
I don't know how to close this....
Glad all working, Adelphia, easy ones are the best. I'll close this off for you.