is there any functionality provided by datatable to give total of all columns at last

is there any functionality provided by datatable to give total of all columns at last

SandeepMSandeepM Posts: 28Questions: 0Answers: 0
edited July 2012 in General
I want to get total of each column as total column at last of table instead of using ROLL UP in QUERY is there any functionality that datatable can provide

Replies

  • allanallan Posts: 63,540Questions: 1Answers: 10,476 Site admin
    No internally - however it is trivial with this plug-in http://datatables.net/plug-ins/api#fnGetColumnData . It gives you an array of the data for the column - just sum it in a look.

    Long term, I will be looking to create a plug-in for this.

    Allan
This discussion has been closed.