Computed column sum in footer
Computed column sum in footer
madval
Posts: 4Questions: 1Answers: 0
Hi, I'm trying to get a column sum displayed in column footer using footerCallback as documented.
Using column(MyIndex).data() returns nothing (as it should because it's a computed column), but how to tell footerCallback to use current displayed data?
Please, visit my example: http://live.datatables.net/xesetaqe/2/edit?html,js,output
This discussion has been closed.
Answers
Solved using createdRow, footerCallback, JS events and Datatables Api to sum up all my computed values and update table footer.