Max value in column
Max value in column
LArmstrong85
Posts: 21Questions: 14Answers: 0
Hello,
I would be able to retrieve the maximum value in a numeric column.
I tried to get all data in this column with this statement: table.column(0).data().serialize();
but it doesn't work.
This is an example:
http://live.datatables.net/qisogeje/13/edit
Where I'm wrong?
Thanks
This discussion has been closed.
Answers
You have to change
var table = $('#example').dataTable({
tovar table = $('#example').DataTable({
As far as the most efficient way of getting the highest value, I'm not really sure. This way seems "hacky" partially because your cell values are inside anchor tags, but it works.