Rename recordsTotal and recordsFiltered
Rename recordsTotal and recordsFiltered

It is possible to change the name DT is using to look for these fields in AJAX responses?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
hi , do you solution it?
https://datatables.net/reference/option/ajax.dataSrc
So the forums stop bugging me to accept an answer... The fix was to pre-process the returned data to rename them.
Yes - that's the correct answer
. At the moment the server-side processing parameter names are not configurable. Yet...
Allan
I found the solution! Use the dataFilter function.
Very nice - thanks for sharing that with is.
Allan