Footer callbacks and multiple rows

Footer callbacks and multiple rows

pbarkerpbarker Posts: 3Questions: 0Answers: 0
edited May 2012 in DataTables 1.9
Hi Guys

I started playing with callbacks today, mainly to calculate some column totals on redraw so I've been using the fnFooterCallback function. I have it working great totaling up some columns, but my question is, does the callback support multiple s in a ? I'd like to have subtotals for each column in one row in the footer and then some group totals in another. Can the callback handle that?

Thanks
Paul

Replies

  • RupRup Posts: 8Questions: 0Answers: 0
    edited September 2012
    Hi Paul,
    Did you find an answer to this ?

    Rup
  • chrisworrellchrisworrell Posts: 6Questions: 2Answers: 0
    The only thing I found from a post allan made was the datatables was not made to be able to handle multiple rows in the footer (a post from a couple years ago), this could no longer be the case and there could be a fix that allows it but what I ended up doing to make it work was just assigning an id to each row and then using the callback to form my data and using the id to find the correct place to put my data. Kinda hackey but it works :shrug:
This discussion has been closed.