j789
asked on
Add totals row to JQuery DataTables
I'm using the JQuery DataTables library and would like to add a total row to the footer of the table. The totals displayed in the row should update each time a filter is applied (number of rows to display or using the search filter). Does anyone have an example of how this can be done? Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
@Jim GMTA
I was in the process of copying and pasting the code sources, but then I decided to simply link to the site. lol Once I posted it, I saw your solution and had to do a face palm.
ASKER
Thanks Scott. Works perfectly!
Basically, you have to use a footer callback function. Let me know if you have any questions.