Computed column sum in footer

Computed column sum in footer

madvalmadval 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

Answers

  • madvalmadval Posts: 4Questions: 1Answers: 0

    Solved using createdRow, footerCallback, JS events and Datatables Api to sum up all my computed values and update table footer.

This discussion has been closed.