API plug-in sum not working on ajax call properly

API plug-in sum not working on ajax call properly

lorventlorvent Posts: 1Questions: 1Answers: 0

https://datatables.net/examples/plug-ins/api.html

this example working properly with static data
but when i try same using ajax data, sum of age in all rows return "some of age in current page rows" only.

anyway to fix this problem?


My original problem is,
i want to findout max and min values of a column in ajax data

i can find many solutions online but all of them showing max/min value for current page only

so i guess there must be a problem with ajax plugin or i am doing something wrong.

please suggest.

Answers

  • kthorngrenkthorngren Posts: 20,408Questions: 26Answers: 4,789

    Are you suing server side processing? If so then all the data is not available for the client side to do the sum.

    Maybe you can provide a link to the code showing the problem.

    Kevin

This discussion has been closed.