Filter grouped rows based on leaf counts
I'm struggling to filter grouped rows based on the group's leaf count. I'm not sure this can be done with tanstack-table.
I've put together this silly codesandbox that shows the issue : https://codesandbox.io/p/devbox/wonderful-cohen-gdhgq8
The table is grouped on the "age" column, I'd like to hide all rows that have less than MIN_LEAVES persons (currently, 6) with a given age.
Oviously, this doesn't work - it seems that the filters only run on the non-grouped rows?
0 Replies