Please wait...

Sum/Totals row

Video versionA video overview of responsive tables in wpDataTables

Sum/Totals row in wpDataTables

For many cases it is useful to calculate a sum of all of the values for a given column. E.g. total sales within a month, total price of products in an order, etc. wpDataTables supports a sum / totals row for numeric columns, e.g. see this table (try to filter it by a date range to see how the totals recalculate):

Sum Rows Demo

Adding a total row is very simple. Just check the “Show the total for this column in footer” checkbox for the column that you want to calculate the totals for:

If this checkbox is ticked for at least one row, a sum row will appear in the bottom.
Sums are recalculated on table redraw (i.e. when you filter).

Never miss new features!

Join 2000+ newsletter subscribers

Never miss notifications about new cool features, promotions, giveaways or freebies - subscribe to our newsletter! We send about one mail per month, and do our best to keep our announcements interesting.

We never spam or disclose your address to anyone.