fnFooterCallback uses unfiltered data
fnFooterCallback uses unfiltered data
tombrown
Posts: 7Questions: 0Answers: 0
On this page it claims that the footer callback "takes into account all of DataTable's features (pagination, filtering etc)" but in fact it does not. In fact the example does not take into account filtering when showing the overall results. Perhaps this changed at some point?
Regardless, it would be very helpful to have. Right now I am using the footer to do totals and it is very misleading when the filter reduces the number of results but the overall totals remain the same (the page totals, of course, are correct).
Regardless, it would be very helpful to have. Right now I am using the footer to do totals and it is very misleading when the filter reduces the number of results but the overall totals remain the same (the page totals, of course, are correct).
This discussion has been closed.