Footer Summation Removed in v8? #4897
-
In the code example below I have a Column with a legacy v7 Footer aggregation. Unfortunately, it appears v8 does not allow one to aggregate the values in the footer. Can someone please confirm if this functionality was actually removed or if the columns object that comes from the footer props can enable this. The v7 compatible footer aggregation is below:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
found a solution here: #101, migrated to v8 with this: |
Beta Was this translation helpful? Give feedback.
found a solution here: #101, migrated to v8 with this:
footer: ({ table }) => table.getFilteredRowModel().rows?.filter((row) => row.getValue('gp') !== null && row.getValue('league').includes('National Hockey League')).reduce((total, row) => total + row.getValue('gp'), 0),